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

Unified Diff: content/browser/android/edge_effect_l.cc

Issue 747683002: [Android] Clean up for UIResourceLayer use in EffectLayer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 | « content/browser/android/edge_effect.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/android/edge_effect_l.cc
diff --git a/content/browser/android/edge_effect_l.cc b/content/browser/android/edge_effect_l.cc
index 173e3044ca3e7e7f3d3908e94c38be61ec210d9d..37f1cacdd02064b294f50562c92a77308097ede4 100644
--- a/content/browser/android/edge_effect_l.cc
+++ b/content/browser/android/edge_effect_l.cc
@@ -252,7 +252,6 @@ void EdgeEffectL::ApplyToLayers(const gfx::SizeF& size,
void EdgeEffectL::SetParent(cc::Layer* parent) {
if (glow_->parent() != parent)
parent->AddChild(glow_);
- glow_->SetUIResourceId(resource_manager_->GetUIResourceId(kResourceType));
}
// static
« no previous file with comments | « content/browser/android/edge_effect.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698