Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(206)

Unified Diff: cc/scrollbar_geometry_fixed_thumb.cc

Issue 11367080: cc: Remove all remaining use of WebCore Rect/Point/Size types from the compositor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/scrollbar_geometry_fixed_thumb.h ('k') | cc/scrollbar_layer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/scrollbar_geometry_fixed_thumb.cc
diff --git a/cc/scrollbar_geometry_fixed_thumb.cc b/cc/scrollbar_geometry_fixed_thumb.cc
index cbf0adb4d4948c16901e0c31e0ccb0efe13a980a..13a9678fc2c601c8b366ddba908820ba1462d71f 100644
--- a/cc/scrollbar_geometry_fixed_thumb.cc
+++ b/cc/scrollbar_geometry_fixed_thumb.cc
@@ -30,9 +30,9 @@ void ScrollbarGeometryFixedThumb::update(WebScrollbar* scrollbar)
int length = ScrollbarGeometryStub::thumbLength(scrollbar);
if (scrollbar->orientation() == WebScrollbar::Horizontal)
- m_thumbSize = IntSize(length, scrollbar->size().height);
+ m_thumbSize = gfx::Size(length, scrollbar->size().height);
else
- m_thumbSize = IntSize(scrollbar->size().width, length);
+ m_thumbSize = gfx::Size(scrollbar->size().width, length);
}
WebScrollbarThemeGeometry* ScrollbarGeometryFixedThumb::clone() const
« no previous file with comments | « cc/scrollbar_geometry_fixed_thumb.h ('k') | cc/scrollbar_layer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698