Title: [147642] trunk/Source/WebCore
- Revision
- 147642
- Author
- [email protected]
- Date
- 2013-04-04 10:48:50 -0700 (Thu, 04 Apr 2013)
Log Message
[EFL] --minimal build fails with 'error: unused variable'
https://bugs.webkit.org/show_bug.cgi?id=113903
Patch by Ed Bartosh <[email protected]> on 2013-04-04
Reviewed by Gustavo Noronha Silva.
Moved variable definition under #if where it's used
* platform/network/soup/ResourceHandleSoup.cpp:
(WebCore::restartedCallback):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (147641 => 147642)
--- trunk/Source/WebCore/ChangeLog 2013-04-04 17:30:12 UTC (rev 147641)
+++ trunk/Source/WebCore/ChangeLog 2013-04-04 17:48:50 UTC (rev 147642)
@@ -1,3 +1,14 @@
+2013-04-04 Ed Bartosh <[email protected]>
+
+ [EFL] --minimal build fails with 'error: unused variable'
+ https://bugs.webkit.org/show_bug.cgi?id=113903
+
+ Reviewed by Gustavo Noronha Silva.
+
+ Moved variable definition under #if where it's used
+ * platform/network/soup/ResourceHandleSoup.cpp:
+ (WebCore::restartedCallback):
+
2013-04-04 Andreas Kling <[email protected]>
Global FontPlatformData cache should use OwnPtr.
Modified: trunk/Source/WebCore/platform/network/soup/ResourceHandleSoup.cpp (147641 => 147642)
--- trunk/Source/WebCore/platform/network/soup/ResourceHandleSoup.cpp 2013-04-04 17:30:12 UTC (rev 147641)
+++ trunk/Source/WebCore/platform/network/soup/ResourceHandleSoup.cpp 2013-04-04 17:48:50 UTC (rev 147642)
@@ -394,9 +394,8 @@
if (!handle || handle->cancelledOrClientless())
return;
- ResourceHandleInternal* d = handle->getInternal();
-
#if ENABLE(WEB_TIMING)
+ ResourceHandleInternal* d = handle->getInternal();
ResourceResponse& redirectResponse = d->m_response;
redirectResponse.setResourceLoadTiming(ResourceLoadTiming::create());
redirectResponse.resourceLoadTiming()->requestTime = monotonicallyIncreasingTime();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes