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

Unified Diff: trunk/src/cc/trees/layer_tree_impl.cc

Issue 23740010: Revert 223162 "Update the nine patch layer to use UI resources" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: 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: trunk/src/cc/trees/layer_tree_impl.cc
===================================================================
--- trunk/src/cc/trees/layer_tree_impl.cc (revision 223178)
+++ trunk/src/cc/trees/layer_tree_impl.cc (working copy)
@@ -621,12 +621,12 @@
UIResourceRequest req = ui_resource_request_queue_.front();
ui_resource_request_queue_.pop_front();
- switch (req.GetType()) {
+ switch (req.type) {
case UIResourceRequest::UIResourceCreate:
- layer_tree_host_impl_->CreateUIResource(req.GetId(), req.GetBitmap());
+ layer_tree_host_impl_->CreateUIResource(req.id, req.bitmap);
break;
case UIResourceRequest::UIResourceDelete:
- layer_tree_host_impl_->DeleteUIResource(req.GetId());
+ layer_tree_host_impl_->DeleteUIResource(req.id);
break;
case UIResourceRequest::UIResourceInvalidRequest:
NOTREACHED();
« no previous file with comments | « trunk/src/cc/trees/layer_tree_impl.h ('k') | trunk/src/content/browser/renderer_host/compositor_impl_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698