Title: [135300] trunk/Source/WebKit/chromium
- Revision
- 135300
- Author
- [email protected]
- Date
- 2012-11-20 10:54:37 -0800 (Tue, 20 Nov 2012)
Log Message
[Chromium] fix FPS counter disappearing when changing page
https://bugs.webkit.org/show_bug.cgi?id=102532
Patch by Eberhard Graether <[email protected]> on 2012-11-20
Reviewed by Pavel Feldman.
When changing the page with opened WebInspector and active FPS counter the WebInspector is
reloaded before the WebView switches to accelerated compositing, so the showFPSCounter call
to WebLayerTreeView is not yet possible. This fix saves the showFPSCounter value in the
WebSettings so it can be read when accelerated compositing is activated.
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::setShowFPSCounter):
Modified Paths
Diff
Modified: trunk/Source/WebKit/chromium/ChangeLog (135299 => 135300)
--- trunk/Source/WebKit/chromium/ChangeLog 2012-11-20 18:49:07 UTC (rev 135299)
+++ trunk/Source/WebKit/chromium/ChangeLog 2012-11-20 18:54:37 UTC (rev 135300)
@@ -1,3 +1,18 @@
+2012-11-20 Eberhard Graether <[email protected]>
+
+ [Chromium] fix FPS counter disappearing when changing page
+ https://bugs.webkit.org/show_bug.cgi?id=102532
+
+ Reviewed by Pavel Feldman.
+
+ When changing the page with opened WebInspector and active FPS counter the WebInspector is
+ reloaded before the WebView switches to accelerated compositing, so the showFPSCounter call
+ to WebLayerTreeView is not yet possible. This fix saves the showFPSCounter value in the
+ WebSettings so it can be read when accelerated compositing is activated.
+
+ * src/WebViewImpl.cpp:
+ (WebKit::WebViewImpl::setShowFPSCounter):
+
2012-11-20 James Simonsen <[email protected]>
Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
Modified: trunk/Source/WebKit/chromium/src/WebViewImpl.cpp (135299 => 135300)
--- trunk/Source/WebKit/chromium/src/WebViewImpl.cpp 2012-11-20 18:49:07 UTC (rev 135299)
+++ trunk/Source/WebKit/chromium/src/WebViewImpl.cpp 2012-11-20 18:54:37 UTC (rev 135300)
@@ -850,6 +850,7 @@
#endif
m_layerTreeView->setShowFPSCounter(show);
}
+ settingsImpl()->setShowFPSCounter(show);
}
bool WebViewImpl::handleKeyEvent(const WebKeyboardEvent& event)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes