| Index: ui/android/resources/ui_resource_client_android.h
|
| diff --git a/ui/android/resources/ui_resource_client_android.h b/ui/android/resources/ui_resource_client_android.h
|
| index 4ada671fa6231b52dea1222c4d1eb749764e9dd7..5de7a885214fb519bdfb1363843e0e659f29d21e 100644
|
| --- a/ui/android/resources/ui_resource_client_android.h
|
| +++ b/ui/android/resources/ui_resource_client_android.h
|
| @@ -10,17 +10,13 @@
|
|
|
| namespace ui {
|
|
|
| -// Android's UIResourceClient has one extra callback (UIResourceIsInvalid).
|
| -// This signal is intended for the case when the LayerTreeHost is cleared and
|
| -// the user needs to recreate their resources.
|
| -// TODO(powei): This interface can be removed once crbug.com/374906 has been
|
| -// addressed.
|
| +// TODO(sievers): This interface should be removed. But it requires Thumbnail
|
| +// to manage its bitmap paging differently.
|
| class UI_ANDROID_EXPORT UIResourceClientAndroid : public cc::UIResourceClient {
|
| public:
|
| - // This method indicates that the UI resource the user holds is no longer
|
| - // valid. The user should not call DeleteUIResource on any resource generated
|
| - // before this signal.
|
| - virtual void UIResourceIsInvalid() = 0;
|
| + // This method indicates that the UI resource the user holds was evicted.
|
| + // DEPRECATED.
|
| + virtual void OnWasEvicted() {}
|
| };
|
|
|
| } // namespace ui
|
|
|