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

Unified Diff: public/platform/WebImageLayer.h

Issue 583733002: [blink] Pass SkBitmap by reference in WebImageLayer::setBitmap (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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 | « Source/platform/graphics/GraphicsLayer.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebImageLayer.h
diff --git a/public/platform/WebImageLayer.h b/public/platform/WebImageLayer.h
index ee75c569342725f60e948c49529a745d410bc75c..2d502e63ca97517e0c3ecb31a72ca7d74e8031ea 100644
--- a/public/platform/WebImageLayer.h
+++ b/public/platform/WebImageLayer.h
@@ -37,7 +37,8 @@ public:
virtual ~WebImageLayer() { }
virtual WebLayer* layer() = 0;
- virtual void setBitmap(SkBitmap) = 0;
+ virtual void setBitmap(SkBitmap) { }
jamesr 2014/09/22 14:25:44 leave a FIXME here indicating what the status of t
vivekg 2014/09/22 14:29:28 Sure, will do! Thank you.
+ virtual void setImageBitmap(const SkBitmap& bitmap) { setBitmap(bitmap); }
jamesr 2014/09/22 14:25:44 if this is the new function, shouldn't this be the
vivekg 2014/09/22 14:29:27 We have to land this first in blink in any case. A
};
} // namespace blink
« no previous file with comments | « Source/platform/graphics/GraphicsLayer.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698