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

Unified Diff: webkit/compositor_bindings/web_nine_patch_layer_impl.cc

Issue 12496013: Move compositor bindings implementations out of WebKit::, fix style (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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_nine_patch_layer_impl.cc
diff --git a/webkit/compositor_bindings/web_nine_patch_layer_impl.cc b/webkit/compositor_bindings/web_nine_patch_layer_impl.cc
index 8c2c47541dd37b78c8be691692953922a3d4fb49..83f09d871f8e0cbe5209f3ecc20fdf9f40be8ea1 100644
--- a/webkit/compositor_bindings/web_nine_patch_layer_impl.cc
+++ b/webkit/compositor_bindings/web_nine_patch_layer_impl.cc
@@ -11,7 +11,7 @@
using cc::NinePatchLayer;
-namespace WebKit {
+namespace webkit {
WebNinePatchLayerImpl::WebNinePatchLayerImpl()
: layer_(new WebLayerImpl(NinePatchLayer::Create())) {
@@ -20,10 +20,10 @@ WebNinePatchLayerImpl::WebNinePatchLayerImpl()
WebNinePatchLayerImpl::~WebNinePatchLayerImpl() {}
-WebLayer* WebNinePatchLayerImpl::layer() { return layer_.get(); }
+WebKit::WebLayer* WebNinePatchLayerImpl::layer() { return layer_.get(); }
void WebNinePatchLayerImpl::setBitmap(const SkBitmap& bitmap,
- const WebRect& aperture) {
+ const WebKit::WebRect& aperture) {
static_cast<NinePatchLayer*>(layer_->layer())->SetBitmap(bitmap,
gfx::Rect(aperture));
}

Powered by Google App Engine
This is Rietveld 408576698