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

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

Issue 897223003: Update {virtual,override,final} to follow C++11 style in ui. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 | ui/events/android/scroller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/android/resources/resource_manager_impl_unittest.cc
diff --git a/ui/android/resources/resource_manager_impl_unittest.cc b/ui/android/resources/resource_manager_impl_unittest.cc
index 1b1a2c1f771f1c77a6bd150b274e16c4090123d7..0c78a1a101e127f0fdb15e9739cbb2a6b8969bff 100644
--- a/ui/android/resources/resource_manager_impl_unittest.cc
+++ b/ui/android/resources/resource_manager_impl_unittest.cc
@@ -19,7 +19,7 @@ class TestResourceManagerImpl : public ResourceManagerImpl {
explicit TestResourceManagerImpl(UIResourceProvider* provider)
: ResourceManagerImpl(provider) {}
- virtual ~TestResourceManagerImpl() {}
+ ~TestResourceManagerImpl() override {}
void SetResourceAsLoaded(AndroidResourceType res_type, int res_id) {
SkBitmap small_bitmap;
@@ -57,7 +57,7 @@ class MockUIResourceProvider : public ui::UIResourceProvider {
virtual ~MockUIResourceProvider() {}
- virtual cc::UIResourceId CreateUIResource(
+ cc::UIResourceId CreateUIResource(
ui::UIResourceClientAndroid* client) override {
if (!has_layer_tree_host_)
return 0;
@@ -67,12 +67,12 @@ class MockUIResourceProvider : public ui::UIResourceProvider {
return id;
}
- virtual void DeleteUIResource(cc::UIResourceId id) override {
+ void DeleteUIResource(cc::UIResourceId id) override {
CHECK(has_layer_tree_host_);
ui_resource_client_map_.erase(id);
}
- virtual bool SupportsETC1NonPowerOfTwo() const override { return true; }
+ bool SupportsETC1NonPowerOfTwo() const override { return true; }
void LayerTreeHostCleared() {
has_layer_tree_host_ = false;
« no previous file with comments | « no previous file | ui/events/android/scroller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698