Index: cc/trees/layer_tree_host_unittest_delegated.cc |
diff --git a/cc/trees/layer_tree_host_unittest_delegated.cc b/cc/trees/layer_tree_host_unittest_delegated.cc |
index 247d94e8647b10f460e36ba9116f02befe47abbb..095513be80c13ea72a21df15bcf9bf4f384f24c9 100644 |
--- a/cc/trees/layer_tree_host_unittest_delegated.cc |
+++ b/cc/trees/layer_tree_host_unittest_delegated.cc |
@@ -251,7 +251,7 @@ class LayerTreeHostDelegatedTestCaseSingleDelegatedLayer |
resource_collection_->SetClient(this); |
} |
- virtual void SetupTree() OVERRIDE { |
+ virtual void SetupTree() override { |
root_ = Layer::Create(); |
root_->SetBounds(gfx::Size(15, 15)); |
@@ -259,7 +259,7 @@ class LayerTreeHostDelegatedTestCaseSingleDelegatedLayer |
LayerTreeHostDelegatedTest::SetupTree(); |
} |
- virtual void BeginTest() OVERRIDE { |
+ virtual void BeginTest() override { |
resource_collection_->SetClient(this); |
PostSetNeedsCommitToMainThread(); |
} |
@@ -296,10 +296,10 @@ class LayerTreeHostDelegatedTestCaseSingleDelegatedLayer |
return delegated; |
} |
- virtual void AfterTest() OVERRIDE { resource_collection_->SetClient(NULL); } |
+ virtual void AfterTest() override { resource_collection_->SetClient(NULL); } |
// DelegatedFrameProviderClient implementation. |
- virtual void UnusedResourcesAreAvailable() OVERRIDE { available_ = true; } |
+ virtual void UnusedResourcesAreAvailable() override { available_ = true; } |
bool TestAndResetAvailable() { |
bool available = available_; |
@@ -323,13 +323,13 @@ class LayerTreeHostDelegatedTestCreateChildId |
num_activates_(0), |
did_reset_child_id_(false) {} |
- virtual void DidCommit() OVERRIDE { |
+ virtual void DidCommit() override { |
if (TestEnded()) |
return; |
SetFrameData(CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1))); |
} |
- virtual void DidActivateTreeOnThread(LayerTreeHostImpl* host_impl) OVERRIDE { |
+ virtual void DidActivateTreeOnThread(LayerTreeHostImpl* host_impl) override { |
if (host_impl->active_tree()->source_frame_number() < 1) |
return; |
@@ -360,7 +360,7 @@ class LayerTreeHostDelegatedTestCreateChildId |
} |
virtual void InitializedRendererOnThread(LayerTreeHostImpl* host_impl, |
- bool success) OVERRIDE { |
+ bool success) override { |
EXPECT_TRUE(success); |
if (num_activates_ < 2) |
@@ -391,7 +391,7 @@ class LayerTreeHostDelegatedTestInvalidFrameAfterContextLost |
LayerTreeHostDelegatedTestInvalidFrameAfterContextLost() |
: num_activates_(0), num_output_surfaces_initialized_(0) {} |
- virtual void DidCommit() OVERRIDE { |
+ virtual void DidCommit() override { |
if (TestEnded()) |
return; |
scoped_ptr<DelegatedFrameData> frame1 = |
@@ -401,7 +401,7 @@ class LayerTreeHostDelegatedTestInvalidFrameAfterContextLost |
SetFrameData(frame1.Pass()); |
} |
- virtual void DidInitializeOutputSurface() OVERRIDE { |
+ virtual void DidInitializeOutputSurface() override { |
if (!num_output_surfaces_initialized_++) |
return; |
@@ -414,7 +414,7 @@ class LayerTreeHostDelegatedTestInvalidFrameAfterContextLost |
DCHECK(delegated_.get() == old_delegated.get()); |
} |
- virtual void DidActivateTreeOnThread(LayerTreeHostImpl* host_impl) OVERRIDE { |
+ virtual void DidActivateTreeOnThread(LayerTreeHostImpl* host_impl) override { |
if (host_impl->active_tree()->source_frame_number() < 1) |
return; |
@@ -435,7 +435,7 @@ class LayerTreeHostDelegatedTestInvalidFrameAfterContextLost |
} |
virtual void InitializedRendererOnThread(LayerTreeHostImpl* host_impl, |
- bool success) OVERRIDE { |
+ bool success) override { |
EXPECT_TRUE(success); |
if (num_activates_ < 2) |
@@ -450,7 +450,7 @@ class LayerTreeHostDelegatedTestInvalidFrameAfterContextLost |
EXPECT_EQ(0U, delegated_impl->Resources().size()); |
} |
- virtual void AfterTest() OVERRIDE { |
+ virtual void AfterTest() override { |
LayerTreeHostDelegatedTestCaseSingleDelegatedLayer::AfterTest(); |
EXPECT_EQ(2, num_output_surfaces_initialized_); |
} |
@@ -470,7 +470,7 @@ class LayerTreeHostDelegatedTestLayerUsesFrameDamage |
: LayerTreeHostDelegatedTestCaseSingleDelegatedLayer(), |
first_draw_for_source_frame_(true) {} |
- virtual void DidCommit() OVERRIDE { |
+ virtual void DidCommit() override { |
int next_source_frame_number = layer_tree_host()->source_frame_number(); |
switch (next_source_frame_number) { |
case 1: |
@@ -583,7 +583,7 @@ class LayerTreeHostDelegatedTestLayerUsesFrameDamage |
virtual DrawResult PrepareToDrawOnThread( |
LayerTreeHostImpl* host_impl, |
LayerTreeHostImpl::FrameData* frame, |
- DrawResult draw_result) OVERRIDE { |
+ DrawResult draw_result) override { |
EXPECT_EQ(DRAW_SUCCESS, draw_result); |
if (!first_draw_for_source_frame_) |
@@ -674,7 +674,7 @@ SINGLE_AND_MULTI_THREAD_TEST_F(LayerTreeHostDelegatedTestLayerUsesFrameDamage); |
class LayerTreeHostDelegatedTestMergeResources |
: public LayerTreeHostDelegatedTestCaseSingleDelegatedLayer { |
public: |
- virtual void BeginTest() OVERRIDE { |
+ virtual void BeginTest() override { |
// Push two frames to the delegated renderer layer with no commit between. |
// The first frame has resource 999. |
@@ -707,7 +707,7 @@ class LayerTreeHostDelegatedTestMergeResources |
PostSetNeedsCommitToMainThread(); |
} |
- virtual void DidActivateTreeOnThread(LayerTreeHostImpl* host_impl) OVERRIDE { |
+ virtual void DidActivateTreeOnThread(LayerTreeHostImpl* host_impl) override { |
LayerImpl* root_impl = host_impl->active_tree()->root_layer(); |
FakeDelegatedRendererLayerImpl* delegated_impl = |
static_cast<FakeDelegatedRendererLayerImpl*>(root_impl->children()[0]); |
@@ -734,7 +734,7 @@ SINGLE_AND_MULTI_THREAD_TEST_F(LayerTreeHostDelegatedTestMergeResources); |
class LayerTreeHostDelegatedTestRemapResourcesInQuads |
: public LayerTreeHostDelegatedTestCaseSingleDelegatedLayer { |
public: |
- virtual void BeginTest() OVERRIDE { |
+ virtual void BeginTest() override { |
// Generate a frame with two resources in it. |
scoped_ptr<DelegatedFrameData> frame = |
CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1)); |
@@ -747,7 +747,7 @@ class LayerTreeHostDelegatedTestRemapResourcesInQuads |
PostSetNeedsCommitToMainThread(); |
} |
- virtual void DidActivateTreeOnThread(LayerTreeHostImpl* host_impl) OVERRIDE { |
+ virtual void DidActivateTreeOnThread(LayerTreeHostImpl* host_impl) override { |
LayerImpl* root_impl = host_impl->active_tree()->root_layer(); |
FakeDelegatedRendererLayerImpl* delegated_impl = |
static_cast<FakeDelegatedRendererLayerImpl*>(root_impl->children()[0]); |
@@ -783,11 +783,11 @@ SINGLE_AND_MULTI_THREAD_TEST_F(LayerTreeHostDelegatedTestRemapResourcesInQuads); |
class LayerTreeHostDelegatedTestReturnUnusedResources |
: public LayerTreeHostDelegatedTestCaseSingleDelegatedLayer { |
public: |
- virtual void BeginTest() OVERRIDE { |
+ virtual void BeginTest() override { |
PostSetNeedsCommitToMainThread(); |
} |
- virtual void DidCommitAndDrawFrame() OVERRIDE { |
+ virtual void DidCommitAndDrawFrame() override { |
scoped_ptr<DelegatedFrameData> frame; |
ReturnedResourceArray resources; |
@@ -856,7 +856,7 @@ class LayerTreeHostDelegatedTestReturnUnusedResources |
} |
virtual void SwapBuffersOnThread(LayerTreeHostImpl* host_impl, |
- bool result) OVERRIDE { |
+ bool result) override { |
ReturnUnusedResourcesFromParent(host_impl); |
} |
}; |
@@ -867,11 +867,11 @@ SINGLE_AND_MULTI_THREAD_TEST_F( |
class LayerTreeHostDelegatedTestReusedResources |
: public LayerTreeHostDelegatedTestCaseSingleDelegatedLayer { |
public: |
- virtual void BeginTest() OVERRIDE { |
+ virtual void BeginTest() override { |
PostSetNeedsCommitToMainThread(); |
} |
- virtual void DidCommitAndDrawFrame() OVERRIDE { |
+ virtual void DidCommitAndDrawFrame() override { |
scoped_ptr<DelegatedFrameData> frame; |
ReturnedResourceArray resources; |
@@ -928,7 +928,7 @@ class LayerTreeHostDelegatedTestReusedResources |
} |
virtual void SwapBuffersOnThread(LayerTreeHostImpl* host_impl, |
- bool result) OVERRIDE { |
+ bool result) override { |
ReturnUnusedResourcesFromParent(host_impl); |
} |
}; |
@@ -938,11 +938,11 @@ SINGLE_AND_MULTI_THREAD_TEST_F(LayerTreeHostDelegatedTestReusedResources); |
class LayerTreeHostDelegatedTestFrameBeforeAck |
: public LayerTreeHostDelegatedTestCaseSingleDelegatedLayer { |
public: |
- virtual void BeginTest() OVERRIDE { |
+ virtual void BeginTest() override { |
PostSetNeedsCommitToMainThread(); |
} |
- virtual void DidCommitAndDrawFrame() OVERRIDE { |
+ virtual void DidCommitAndDrawFrame() override { |
scoped_ptr<DelegatedFrameData> frame; |
ReturnedResourceArray resources; |
@@ -997,7 +997,7 @@ class LayerTreeHostDelegatedTestFrameBeforeAck |
} |
} |
- virtual void DidActivateTreeOnThread(LayerTreeHostImpl* host_impl) OVERRIDE { |
+ virtual void DidActivateTreeOnThread(LayerTreeHostImpl* host_impl) override { |
if (host_impl->active_tree()->source_frame_number() != 3) |
return; |
@@ -1028,7 +1028,7 @@ class LayerTreeHostDelegatedTestFrameBeforeAck |
} |
virtual void SwapBuffersOnThread(LayerTreeHostImpl* host_impl, |
- bool result) OVERRIDE { |
+ bool result) override { |
ReturnUnusedResourcesFromParent(host_impl); |
} |
}; |
@@ -1038,11 +1038,11 @@ SINGLE_AND_MULTI_THREAD_TEST_F(LayerTreeHostDelegatedTestFrameBeforeAck); |
class LayerTreeHostDelegatedTestFrameBeforeTakeResources |
: public LayerTreeHostDelegatedTestCaseSingleDelegatedLayer { |
public: |
- virtual void BeginTest() OVERRIDE { |
+ virtual void BeginTest() override { |
PostSetNeedsCommitToMainThread(); |
} |
- virtual void DidCommitAndDrawFrame() OVERRIDE { |
+ virtual void DidCommitAndDrawFrame() override { |
scoped_ptr<DelegatedFrameData> frame; |
ReturnedResourceArray resources; |
@@ -1109,7 +1109,7 @@ class LayerTreeHostDelegatedTestFrameBeforeTakeResources |
} |
} |
- virtual void DidActivateTreeOnThread(LayerTreeHostImpl* host_impl) OVERRIDE { |
+ virtual void DidActivateTreeOnThread(LayerTreeHostImpl* host_impl) override { |
if (host_impl->active_tree()->source_frame_number() != 3) |
return; |
@@ -1147,7 +1147,7 @@ class LayerTreeHostDelegatedTestFrameBeforeTakeResources |
} |
virtual void SwapBuffersOnThread(LayerTreeHostImpl* host_impl, |
- bool result) OVERRIDE { |
+ bool result) override { |
ReturnUnusedResourcesFromParent(host_impl); |
} |
}; |
@@ -1158,11 +1158,11 @@ SINGLE_AND_MULTI_THREAD_TEST_F( |
class LayerTreeHostDelegatedTestBadFrame |
: public LayerTreeHostDelegatedTestCaseSingleDelegatedLayer { |
public: |
- virtual void BeginTest() OVERRIDE { |
+ virtual void BeginTest() override { |
PostSetNeedsCommitToMainThread(); |
} |
- virtual void DidCommitAndDrawFrame() OVERRIDE { |
+ virtual void DidCommitAndDrawFrame() override { |
scoped_ptr<DelegatedFrameData> frame; |
ReturnedResourceArray resources; |
@@ -1230,7 +1230,7 @@ class LayerTreeHostDelegatedTestBadFrame |
} |
virtual void SwapBuffersOnThread(LayerTreeHostImpl* host_impl, |
- bool result) OVERRIDE { |
+ bool result) override { |
if (host_impl->active_tree()->source_frame_number() < 1) |
return; |
@@ -1312,11 +1312,11 @@ SINGLE_AND_MULTI_THREAD_TEST_F(LayerTreeHostDelegatedTestBadFrame); |
class LayerTreeHostDelegatedTestUnnamedResource |
: public LayerTreeHostDelegatedTestCaseSingleDelegatedLayer { |
public: |
- virtual void BeginTest() OVERRIDE { |
+ virtual void BeginTest() override { |
PostSetNeedsCommitToMainThread(); |
} |
- virtual void DidCommit() OVERRIDE { |
+ virtual void DidCommit() override { |
scoped_ptr<DelegatedFrameData> frame; |
ReturnedResourceArray resources; |
@@ -1352,7 +1352,7 @@ class LayerTreeHostDelegatedTestUnnamedResource |
} |
} |
- virtual void DidActivateTreeOnThread(LayerTreeHostImpl* host_impl) OVERRIDE { |
+ virtual void DidActivateTreeOnThread(LayerTreeHostImpl* host_impl) override { |
if (host_impl->active_tree()->source_frame_number() != 1) |
return; |
@@ -1378,11 +1378,11 @@ SINGLE_AND_MULTI_THREAD_TEST_F(LayerTreeHostDelegatedTestUnnamedResource); |
class LayerTreeHostDelegatedTestDontLeakResource |
: public LayerTreeHostDelegatedTestCaseSingleDelegatedLayer { |
public: |
- virtual void BeginTest() OVERRIDE { |
+ virtual void BeginTest() override { |
PostSetNeedsCommitToMainThread(); |
} |
- virtual void DidCommitAndDrawFrame() OVERRIDE { |
+ virtual void DidCommitAndDrawFrame() override { |
scoped_ptr<DelegatedFrameData> frame; |
ReturnedResourceArray resources; |
@@ -1430,7 +1430,7 @@ class LayerTreeHostDelegatedTestDontLeakResource |
} |
} |
- virtual void DidActivateTreeOnThread(LayerTreeHostImpl* host_impl) OVERRIDE { |
+ virtual void DidActivateTreeOnThread(LayerTreeHostImpl* host_impl) override { |
if (host_impl->active_tree()->source_frame_number() != 1) |
return; |
@@ -1451,7 +1451,7 @@ class LayerTreeHostDelegatedTestDontLeakResource |
} |
virtual void SwapBuffersOnThread(LayerTreeHostImpl* host_impl, |
- bool result) OVERRIDE { |
+ bool result) override { |
ReturnUnusedResourcesFromParent(host_impl); |
} |
}; |
@@ -1461,7 +1461,7 @@ SINGLE_AND_MULTI_THREAD_TEST_F(LayerTreeHostDelegatedTestDontLeakResource); |
class LayerTreeHostDelegatedTestResourceSentToParent |
: public LayerTreeHostDelegatedTestCaseSingleDelegatedLayer { |
public: |
- virtual void DidCommitAndDrawFrame() OVERRIDE { |
+ virtual void DidCommitAndDrawFrame() override { |
scoped_ptr<DelegatedFrameData> frame; |
ReturnedResourceArray resources; |
@@ -1516,7 +1516,7 @@ class LayerTreeHostDelegatedTestResourceSentToParent |
host_impl->ReclaimResources(&ack); |
} |
- virtual void UnusedResourcesAreAvailable() OVERRIDE { |
+ virtual void UnusedResourcesAreAvailable() override { |
EXPECT_EQ(3, layer_tree_host()->source_frame_number()); |
ReturnedResourceArray resources; |
@@ -1531,7 +1531,7 @@ class LayerTreeHostDelegatedTestResourceSentToParent |
EndTest(); |
} |
- virtual void DidActivateTreeOnThread(LayerTreeHostImpl* host_impl) OVERRIDE { |
+ virtual void DidActivateTreeOnThread(LayerTreeHostImpl* host_impl) override { |
if (host_impl->active_tree()->source_frame_number() < 1) |
return; |
@@ -1592,13 +1592,13 @@ SINGLE_AND_MULTI_THREAD_DELEGATING_RENDERER_TEST_F( |
class LayerTreeHostDelegatedTestCommitWithoutTake |
: public LayerTreeHostDelegatedTestCaseSingleDelegatedLayer { |
public: |
- virtual void BeginTest() OVERRIDE { |
+ virtual void BeginTest() override { |
// Prevent drawing with resources that are sent to the grandparent. |
layer_tree_host()->SetViewportSize(gfx::Size()); |
PostSetNeedsCommitToMainThread(); |
} |
- virtual void DidCommit() OVERRIDE { |
+ virtual void DidCommit() override { |
scoped_ptr<DelegatedFrameData> frame; |
ReturnedResourceArray resources; |
@@ -1664,7 +1664,7 @@ class LayerTreeHostDelegatedTestCommitWithoutTake |
} |
} |
- virtual void DidActivateTreeOnThread(LayerTreeHostImpl* host_impl) OVERRIDE { |
+ virtual void DidActivateTreeOnThread(LayerTreeHostImpl* host_impl) override { |
if (host_impl->active_tree()->source_frame_number() < 1) |
return; |
@@ -1714,7 +1714,7 @@ class DelegatedFrameIsActivatedDuringCommit |
protected: |
DelegatedFrameIsActivatedDuringCommit() : returned_resource_count_(0) {} |
- virtual void BeginTest() OVERRIDE { |
+ virtual void BeginTest() override { |
activate_count_ = 0; |
scoped_ptr<DelegatedFrameData> frame = |
@@ -1726,11 +1726,11 @@ class DelegatedFrameIsActivatedDuringCommit |
PostSetNeedsCommitToMainThread(); |
} |
- virtual void WillActivateTreeOnThread(LayerTreeHostImpl* impl) OVERRIDE { |
+ virtual void WillActivateTreeOnThread(LayerTreeHostImpl* impl) override { |
++activate_count_; |
} |
- virtual void DidCommit() OVERRIDE { |
+ virtual void DidCommit() override { |
switch (layer_tree_host()->source_frame_number()) { |
case 1: { |
// The first frame has been activated. Set a new frame, and |
@@ -1757,7 +1757,7 @@ class DelegatedFrameIsActivatedDuringCommit |
} |
} |
- virtual void CommitCompleteOnThread(LayerTreeHostImpl* host_impl) OVERRIDE { |
+ virtual void CommitCompleteOnThread(LayerTreeHostImpl* host_impl) override { |
switch (host_impl->active_tree()->source_frame_number()) { |
case 0: { |
// The activate for the 1st frame should have happened before now. |
@@ -1782,11 +1782,11 @@ class DelegatedFrameIsActivatedDuringCommit |
} |
virtual void SwapBuffersOnThread(LayerTreeHostImpl* host_impl, |
- bool result) OVERRIDE { |
+ bool result) override { |
ReturnUnusedResourcesFromParent(host_impl); |
} |
- virtual void UnusedResourcesAreAvailable() OVERRIDE { |
+ virtual void UnusedResourcesAreAvailable() override { |
LayerTreeHostDelegatedTestCaseSingleDelegatedLayer:: |
UnusedResourcesAreAvailable(); |
ReturnedResourceArray resources; |
@@ -1807,9 +1807,9 @@ SINGLE_AND_MULTI_THREAD_TEST_F( |
class LayerTreeHostDelegatedTestTwoImplLayers |
: public LayerTreeHostDelegatedTestCaseSingleDelegatedLayer { |
public: |
- virtual void BeginTest() OVERRIDE { PostSetNeedsCommitToMainThread(); } |
+ virtual void BeginTest() override { PostSetNeedsCommitToMainThread(); } |
- virtual void DidCommitAndDrawFrame() OVERRIDE { |
+ virtual void DidCommitAndDrawFrame() override { |
scoped_ptr<DelegatedFrameData> frame; |
ReturnedResourceArray resources; |
@@ -1857,7 +1857,7 @@ class LayerTreeHostDelegatedTestTwoImplLayers |
} |
virtual void SwapBuffersOnThread(LayerTreeHostImpl* host_impl, |
- bool result) OVERRIDE { |
+ bool result) override { |
ReturnUnusedResourcesFromParent(host_impl); |
} |
}; |
@@ -1867,9 +1867,9 @@ SINGLE_AND_MULTI_THREAD_TEST_F(LayerTreeHostDelegatedTestTwoImplLayers); |
class LayerTreeHostDelegatedTestTwoImplLayersTwoFrames |
: public LayerTreeHostDelegatedTestCaseSingleDelegatedLayer { |
public: |
- virtual void BeginTest() OVERRIDE { PostSetNeedsCommitToMainThread(); } |
+ virtual void BeginTest() override { PostSetNeedsCommitToMainThread(); } |
- virtual void DidCommitAndDrawFrame() OVERRIDE { |
+ virtual void DidCommitAndDrawFrame() override { |
scoped_ptr<DelegatedFrameData> frame; |
ReturnedResourceArray resources; |
@@ -1926,7 +1926,7 @@ class LayerTreeHostDelegatedTestTwoImplLayersTwoFrames |
} |
virtual void SwapBuffersOnThread(LayerTreeHostImpl* host_impl, |
- bool result) OVERRIDE { |
+ bool result) override { |
ReturnUnusedResourcesFromParent(host_impl); |
} |
}; |
@@ -1937,9 +1937,9 @@ SINGLE_AND_MULTI_THREAD_TEST_F( |
class LayerTreeHostDelegatedTestTwoLayers |
: public LayerTreeHostDelegatedTestCaseSingleDelegatedLayer { |
public: |
- virtual void BeginTest() OVERRIDE { PostSetNeedsCommitToMainThread(); } |
+ virtual void BeginTest() override { PostSetNeedsCommitToMainThread(); } |
- virtual void DidCommitAndDrawFrame() OVERRIDE { |
+ virtual void DidCommitAndDrawFrame() override { |
scoped_ptr<DelegatedFrameData> frame; |
ReturnedResourceArray resources; |
@@ -2013,7 +2013,7 @@ class LayerTreeHostDelegatedTestTwoLayers |
} |
virtual void SwapBuffersOnThread(LayerTreeHostImpl* host_impl, |
- bool result) OVERRIDE { |
+ bool result) override { |
ReturnUnusedResourcesFromParent(host_impl); |
} |
@@ -2025,9 +2025,9 @@ SINGLE_AND_MULTI_THREAD_TEST_F(LayerTreeHostDelegatedTestTwoLayers); |
class LayerTreeHostDelegatedTestRemoveAndAddToTree |
: public LayerTreeHostDelegatedTestCaseSingleDelegatedLayer { |
public: |
- virtual void BeginTest() OVERRIDE { PostSetNeedsCommitToMainThread(); } |
+ virtual void BeginTest() override { PostSetNeedsCommitToMainThread(); } |
- virtual void DidCommitAndDrawFrame() OVERRIDE { |
+ virtual void DidCommitAndDrawFrame() override { |
scoped_ptr<DelegatedFrameData> frame; |
ReturnedResourceArray resources; |
@@ -2105,7 +2105,7 @@ class LayerTreeHostDelegatedTestRemoveAndAddToTree |
} |
virtual void SwapBuffersOnThread(LayerTreeHostImpl* host_impl, |
- bool result) OVERRIDE { |
+ bool result) override { |
ReturnUnusedResourcesFromParent(host_impl); |
} |
@@ -2117,9 +2117,9 @@ SINGLE_AND_MULTI_THREAD_TEST_F(LayerTreeHostDelegatedTestRemoveAndAddToTree); |
class LayerTreeHostDelegatedTestRemoveAndChangeResources |
: public LayerTreeHostDelegatedTestCaseSingleDelegatedLayer { |
public: |
- virtual void BeginTest() OVERRIDE { PostSetNeedsCommitToMainThread(); } |
+ virtual void BeginTest() override { PostSetNeedsCommitToMainThread(); } |
- virtual void DidCommitAndDrawFrame() OVERRIDE { |
+ virtual void DidCommitAndDrawFrame() override { |
scoped_ptr<DelegatedFrameData> frame; |
ReturnedResourceArray resources; |
@@ -2187,7 +2187,7 @@ class LayerTreeHostDelegatedTestRemoveAndChangeResources |
} |
virtual void SwapBuffersOnThread(LayerTreeHostImpl* host_impl, |
- bool result) OVERRIDE { |
+ bool result) override { |
ReturnUnusedResourcesFromParent(host_impl); |
} |