Title: [150024] trunk/Source/WebKit2
- Revision
- 150024
- Author
- [email protected]
- Date
- 2013-05-13 11:24:14 -0700 (Mon, 13 May 2013)
Log Message
[WK2][CoordinatedGraphics] Avoid dispensable calls to WebView::updateViewportSize()
https://bugs.webkit.org/show_bug.cgi?id=116045
Patch by Jesus Sanchez-Palencia <[email protected]> on 2013-05-13
Reviewed by Darin Adler.
* UIProcess/CoordinatedGraphics/WebView.cpp:
(WebKit::WebView::setSize):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (150023 => 150024)
--- trunk/Source/WebKit2/ChangeLog 2013-05-13 18:16:51 UTC (rev 150023)
+++ trunk/Source/WebKit2/ChangeLog 2013-05-13 18:24:14 UTC (rev 150024)
@@ -1,3 +1,13 @@
+2013-05-13 Jesus Sanchez-Palencia <[email protected]>
+
+ [WK2][CoordinatedGraphics] Avoid dispensable calls to WebView::updateViewportSize()
+ https://bugs.webkit.org/show_bug.cgi?id=116045
+
+ Reviewed by Darin Adler.
+
+ * UIProcess/CoordinatedGraphics/WebView.cpp:
+ (WebKit::WebView::setSize):
+
2013-05-13 Jon Lee <[email protected]>
[WK2] Notification manager removal should not be tied to termination of web processes
Modified: trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/WebView.cpp (150023 => 150024)
--- trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/WebView.cpp 2013-05-13 18:16:51 UTC (rev 150023)
+++ trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/WebView.cpp 2013-05-13 18:24:14 UTC (rev 150024)
@@ -77,6 +77,9 @@
void WebView::setSize(const WebCore::IntSize& size)
{
+ if (m_size == size)
+ return;
+
m_size = size;
updateViewportSize();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes