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

Unified Diff: cc/resources/scoped_ui_resource.cc

Issue 23805002: [cc] Enable specifying a overhang/gutter texture. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Don't require Webkit patch Created 7 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
Index: cc/resources/scoped_ui_resource.cc
diff --git a/cc/resources/scoped_ui_resource.cc b/cc/resources/scoped_ui_resource.cc
index 16225528cf79170b179f3ce61aa77453f0332cd0..48f36b5e8106aad733634b326ad30d12e42ad1aa 100644
--- a/cc/resources/scoped_ui_resource.cc
+++ b/cc/resources/scoped_ui_resource.cc
@@ -32,6 +32,10 @@ ScopedUIResource::~ScopedUIResource() {
}
}
+gfx::Size ScopedUIResource::GetSize() {
+ return bitmap_->GetSize();
+}
+
scoped_refptr<UIResourceBitmap> ScopedUIResource::GetBitmap(
UIResourceId uid,
bool resource_lost) {

Powered by Google App Engine
This is Rietveld 408576698