Title: [161367] trunk/Source/WebKit2
Revision
161367
Author
[email protected]
Date
2014-01-06 13:30:27 -0800 (Mon, 06 Jan 2014)

Log Message

Rename DrawingArea::supportsThreadedScrolling() to supportsAsyncScrolling()
https://bugs.webkit.org/show_bug.cgi?id=126529

Reviewed by Tim Horton.

Change function name from using "threaded" to "async" terminology.

* WebProcess/WebPage/DrawingArea.h:
(WebKit::DrawingArea::supportsAsyncScrolling):
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::WebPage):
* WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.h:

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (161366 => 161367)


--- trunk/Source/WebKit2/ChangeLog	2014-01-06 21:14:30 UTC (rev 161366)
+++ trunk/Source/WebKit2/ChangeLog	2014-01-06 21:30:27 UTC (rev 161367)
@@ -1,3 +1,18 @@
+2014-01-06  Simon Fraser  <[email protected]>
+
+        Rename DrawingArea::supportsThreadedScrolling() to supportsAsyncScrolling()
+        https://bugs.webkit.org/show_bug.cgi?id=126529
+
+        Reviewed by Tim Horton.
+        
+        Change function name from using "threaded" to "async" terminology.
+
+        * WebProcess/WebPage/DrawingArea.h:
+        (WebKit::DrawingArea::supportsAsyncScrolling):
+        * WebProcess/WebPage/WebPage.cpp:
+        (WebKit::WebPage::WebPage):
+        * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.h:
+
 2014-01-04  Carlos Garcia Campos  <[email protected]>
 
         [GTK] Move all GTK/GObject unit tests to Tools/TestWebKitAPI

Modified: trunk/Source/WebKit2/WebProcess/WebPage/DrawingArea.h (161366 => 161367)


--- trunk/Source/WebKit2/WebProcess/WebPage/DrawingArea.h	2014-01-06 21:14:30 UTC (rev 161366)
+++ trunk/Source/WebKit2/WebProcess/WebPage/DrawingArea.h	2014-01-06 21:30:27 UTC (rev 161367)
@@ -90,7 +90,7 @@
     virtual void setClipsToExposedRect(bool) { }
     virtual void mainFrameScrollabilityChanged(bool) { }
 
-    virtual bool supportsThreadedScrolling() { return false; }
+    virtual bool supportsAsyncScrolling() { return false; }
 
     virtual void didChangeScrollOffsetForAnyFrame() { }
 

Modified: trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp (161366 => 161367)


--- trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp	2014-01-06 21:14:30 UTC (rev 161366)
+++ trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp	2014-01-06 21:30:27 UTC (rev 161367)
@@ -317,7 +317,7 @@
 
 #if ENABLE(ASYNC_SCROLLING)
     m_useAsyncScrolling = parameters.store.getBoolValueForKey(WebPreferencesKey::threadedScrollingEnabledKey());
-    if (!m_drawingArea->supportsThreadedScrolling())
+    if (!m_drawingArea->supportsAsyncScrolling())
         m_useAsyncScrolling = false;
     m_page->settings().setScrollingCoordinatorEnabled(m_useAsyncScrolling);
 #endif

Modified: trunk/Source/WebKit2/WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.h (161366 => 161367)


--- trunk/Source/WebKit2/WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.h	2014-01-06 21:14:30 UTC (rev 161366)
+++ trunk/Source/WebKit2/WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.h	2014-01-06 21:30:27 UTC (rev 161367)
@@ -79,7 +79,7 @@
 
     virtual void setExposedRect(const WebCore::FloatRect&) OVERRIDE;
     virtual void setClipsToExposedRect(bool) OVERRIDE;
-    virtual bool supportsThreadedScrolling() OVERRIDE { return true; }
+    virtual bool supportsAsyncScrolling() OVERRIDE { return true; }
 
     virtual void didChangeScrollOffsetForAnyFrame() OVERRIDE;
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to