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

Unified Diff: cc/resources/scoped_ui_resource.cc

Issue 22870016: Update the nine patch layer to use UI resources (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments by danakj and aelias. Modified tests. Created 7 years, 4 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..a105b4dde9700b454acdecf70bcff452209ab125 100644
--- a/cc/resources/scoped_ui_resource.cc
+++ b/cc/resources/scoped_ui_resource.cc
@@ -38,6 +38,8 @@ scoped_refptr<UIResourceBitmap> ScopedUIResource::GetBitmap(
return bitmap_;
}
+UIResourceId ScopedUIResource::id() { return id_; }
+
ScopedUIResource::ScopedUIResource() {}
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698