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

Unified Diff: cc/picture_image_layer.cc

Issue 12774006: cc: Chromify Layer and LayerImpl classes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: MoreAndroidCompilings 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
« no previous file with comments | « cc/picture_image_layer.h ('k') | cc/picture_image_layer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/picture_image_layer.cc
diff --git a/cc/picture_image_layer.cc b/cc/picture_image_layer.cc
index 4419decb63559e76eca5ca2c6a25bd4c51e2f5e6..3d86c1cd6106e5448d7b865005121664a04a35a7 100644
--- a/cc/picture_image_layer.cc
+++ b/cc/picture_image_layer.cc
@@ -9,7 +9,7 @@
namespace cc {
-scoped_refptr<PictureImageLayer> PictureImageLayer::create()
+scoped_refptr<PictureImageLayer> PictureImageLayer::Create()
{
return make_scoped_refptr(new PictureImageLayer());
}
@@ -24,13 +24,13 @@ PictureImageLayer::~PictureImageLayer()
clearClient();
}
-scoped_ptr<LayerImpl> PictureImageLayer::createLayerImpl(
+scoped_ptr<LayerImpl> PictureImageLayer::CreateLayerImpl(
LayerTreeImpl* treeImpl) {
- return PictureImageLayerImpl::create(treeImpl, id()).PassAs<LayerImpl>();
+ return PictureImageLayerImpl::Create(treeImpl, id()).PassAs<LayerImpl>();
}
-bool PictureImageLayer::drawsContent() const {
- return !bitmap_.isNull() && PictureLayer::drawsContent();
+bool PictureImageLayer::DrawsContent() const {
+ return !bitmap_.isNull() && PictureLayer::DrawsContent();
}
void PictureImageLayer::setBitmap(const SkBitmap& bitmap)
@@ -43,7 +43,7 @@ void PictureImageLayer::setBitmap(const SkBitmap& bitmap)
return;
bitmap_ = bitmap;
- setNeedsDisplay();
+ SetNeedsDisplay();
}
void PictureImageLayer::paintContents(
« no previous file with comments | « cc/picture_image_layer.h ('k') | cc/picture_image_layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698