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

Unified Diff: public/platform/WebNinePatchLayer.h

Issue 594193002: [blink] Pass SkBitmap by reference in WebNinePatchLayer::setBitmap and refactor (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/WebNinePatchLayer.h
diff --git a/public/platform/WebNinePatchLayer.h b/public/platform/WebNinePatchLayer.h
index 95b8af029b2f9146bad711a3d8ef55701705a148..635f20120e968491feedf04ddc1be9322a44382f 100644
--- a/public/platform/WebNinePatchLayer.h
+++ b/public/platform/WebNinePatchLayer.h
@@ -43,7 +43,9 @@ public:
virtual ~WebNinePatchLayer() { }
virtual WebLayer* layer() = 0;
- virtual void setBitmap(SkBitmap, const WebRect& aperture) = 0;
+ virtual void setBitmap(const SkBitmap&) = 0;
+ virtual void setAperture(const WebRect&) = 0;
+ virtual void setBorder(const WebRect&) = 0;
};
} // 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