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

Unified Diff: cc/layers/nine_patch_layer.cc

Issue 22911024: Fix crashes when NinePatchLayer doesn't have a resource. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@shadow
Patch Set: 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
« no previous file with comments | « no previous file | cc/layers/nine_patch_layer_impl.cc » ('j') | cc/layers/nine_patch_layer_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/nine_patch_layer.cc
diff --git a/cc/layers/nine_patch_layer.cc b/cc/layers/nine_patch_layer.cc
index e32f6e0b125230633449e3141994ee2c81d82bed..055e244ddfc3127dc37f9c2bd8b4e4f5582fe6f5 100644
--- a/cc/layers/nine_patch_layer.cc
+++ b/cc/layers/nine_patch_layer.cc
@@ -71,6 +71,7 @@ bool NinePatchLayer::Update(ResourceUpdateQueue* queue,
queue->AppendFullUpload(upload);
bitmap_dirty_ = false;
updated = true;
+ SetNeedsPushProperties();
danakj 2013/08/20 02:22:32 Oh, this uses prioritized texture manager so it ca
ccameron 2013/08/20 09:43:47 I've set it to be SNPP unconditionally for now.
}
return updated;
}
« no previous file with comments | « no previous file | cc/layers/nine_patch_layer_impl.cc » ('j') | cc/layers/nine_patch_layer_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698