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

Unified Diff: webkit/compositor_bindings/web_to_ccscrollbar_theme_painter_adapter.cc

Issue 12496013: Move compositor bindings implementations out of WebKit::, fix style (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 9 months 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
Index: webkit/compositor_bindings/web_to_ccscrollbar_theme_painter_adapter.cc
diff --git a/webkit/compositor_bindings/web_to_ccscrollbar_theme_painter_adapter.cc b/webkit/compositor_bindings/web_to_ccscrollbar_theme_painter_adapter.cc
index b83757c4fb8f8ab313e50f585ae0cf437c7b251e..38f267c8b2ea0f5e7d1743462098157b7156411e 100644
--- a/webkit/compositor_bindings/web_to_ccscrollbar_theme_painter_adapter.cc
+++ b/webkit/compositor_bindings/web_to_ccscrollbar_theme_painter_adapter.cc
@@ -7,7 +7,14 @@
#include "third_party/WebKit/Source/Platform/chromium/public/WebRect.h"
#include "third_party/WebKit/Source/Platform/chromium/public/WebScrollbarThemePainter.h"
-namespace WebKit {
+using WebKit::WebScrollbarThemePainter;
+
+namespace webkit {
+
+WebToCCScrollbarThemePainterAdapter::
+WebToCCScrollbarThemePainterAdapter(
+ scoped_ptr<WebScrollbarThemePainter> web_painter)
+ : painter_(web_painter.Pass()) {}
WebToCCScrollbarThemePainterAdapter::~WebToCCScrollbarThemePainterAdapter() {}
@@ -70,4 +77,4 @@ void WebToCCScrollbarThemePainterAdapter::PaintThumb(SkCanvas* canvas,
painter_->paintThumb(canvas, rect);
}
-} // namespace WebKit
+} // namespace webkit

Powered by Google App Engine
This is Rietveld 408576698