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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositorTest.cpp

Issue 1971743003: Fix include path for moved thread_task_runner_handle.h header in third_party/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: fix one more recent include Created 4 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "platform/graphics/compositing/PaintArtifactCompositor.h" 5 #include "platform/graphics/compositing/PaintArtifactCompositor.h"
6 6
7 #include "base/test/test_simple_task_runner.h" 7 #include "base/test/test_simple_task_runner.h"
8 #include "base/thread_task_runner_handle.h" 8 #include "base/threading/thread_task_runner_handle.h"
9 #include "cc/layers/layer.h" 9 #include "cc/layers/layer.h"
10 #include "cc/test/fake_output_surface.h" 10 #include "cc/test/fake_output_surface.h"
11 #include "cc/trees/layer_tree_host.h" 11 #include "cc/trees/layer_tree_host.h"
12 #include "cc/trees/layer_tree_settings.h" 12 #include "cc/trees/layer_tree_settings.h"
13 #include "platform/RuntimeEnabledFeatures.h" 13 #include "platform/RuntimeEnabledFeatures.h"
14 #include "platform/graphics/paint/PaintArtifact.h" 14 #include "platform/graphics/paint/PaintArtifact.h"
15 #include "platform/testing/PictureMatchers.h" 15 #include "platform/testing/PictureMatchers.h"
16 #include "platform/testing/TestPaintArtifact.h" 16 #include "platform/testing/TestPaintArtifact.h"
17 #include "platform/testing/WebLayerTreeViewImplForTesting.h" 17 #include "platform/testing/WebLayerTreeViewImplForTesting.h"
18 #include "testing/gmock/include/gmock/gmock.h" 18 #include "testing/gmock/include/gmock/gmock.h"
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 ASSERT_EQ(1u, rootLayer()->children().size()); 423 ASSERT_EQ(1u, rootLayer()->children().size());
424 const cc::Layer* child = rootLayer()->child_at(0); 424 const cc::Layer* child = rootLayer()->child_at(0);
425 EXPECT_THAT(child->GetPicture(), 425 EXPECT_THAT(child->GetPicture(),
426 Pointee(drawsRectangle(FloatRect(0, 0, 100, 100), Color::white))); 426 Pointee(drawsRectangle(FloatRect(0, 0, 100, 100), Color::white)));
427 EXPECT_EQ(translation(50, -50), child->screen_space_transform()); 427 EXPECT_EQ(translation(50, -50), child->screen_space_transform());
428 EXPECT_EQ(gfx::Size(100, 100), child->bounds()); 428 EXPECT_EQ(gfx::Size(100, 100), child->bounds());
429 } 429 }
430 430
431 } // namespace 431 } // namespace
432 } // namespace blink 432 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/exported/Platform.cpp ('k') | third_party/WebKit/Source/platform/testing/CompositorTest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698