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

Unified Diff: ui/android/resources/ui_resource_android.cc

Issue 1371523003: Android: Don't destroy LayerTreeHost when Surface goes away (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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: ui/android/resources/ui_resource_android.cc
diff --git a/ui/android/resources/ui_resource_android.cc b/ui/android/resources/ui_resource_android.cc
index bc85bb88666a50033e24bc5d439c364d9ce7d5ab..89ed2ed922cf4015ae9981bdb84b4850401550c7 100644
--- a/ui/android/resources/ui_resource_android.cc
+++ b/ui/android/resources/ui_resource_android.cc
@@ -38,10 +38,6 @@ cc::UIResourceId UIResourceAndroid::id() {
return id_;
}
-void UIResourceAndroid::UIResourceIsInvalid() {
- id_ = 0;
-}
-
UIResourceAndroid::UIResourceAndroid(ui::UIResourceProvider* provider,
const SkBitmap& skbitmap)
: provider_(provider), bitmap_(skbitmap), id_(0) {

Powered by Google App Engine
This is Rietveld 408576698