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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/paint/PaintControllerTest.cpp

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/paint/PaintController.h" 5 #include "platform/graphics/paint/PaintController.h"
6 6
7 #include <memory>
7 #include "platform/RuntimeEnabledFeatures.h" 8 #include "platform/RuntimeEnabledFeatures.h"
8 #include "platform/graphics/GraphicsContext.h" 9 #include "platform/graphics/GraphicsContext.h"
9 #include "platform/graphics/paint/ClipPathDisplayItem.h" 10 #include "platform/graphics/paint/ClipPathDisplayItem.h"
10 #include "platform/graphics/paint/ClipPathRecorder.h" 11 #include "platform/graphics/paint/ClipPathRecorder.h"
11 #include "platform/graphics/paint/ClipRecorder.h" 12 #include "platform/graphics/paint/ClipRecorder.h"
12 #include "platform/graphics/paint/CompositingRecorder.h" 13 #include "platform/graphics/paint/CompositingRecorder.h"
13 #include "platform/graphics/paint/DrawingDisplayItem.h" 14 #include "platform/graphics/paint/DrawingDisplayItem.h"
14 #include "platform/graphics/paint/DrawingRecorder.h" 15 #include "platform/graphics/paint/DrawingRecorder.h"
15 #include "platform/graphics/paint/SubsequenceRecorder.h" 16 #include "platform/graphics/paint/SubsequenceRecorder.h"
16 #include "platform/testing/FakeDisplayItemClient.h" 17 #include "platform/testing/FakeDisplayItemClient.h"
17 #include "platform/testing/PaintPropertyTestHelpers.h" 18 #include "platform/testing/PaintPropertyTestHelpers.h"
18 #include "platform/testing/RuntimeEnabledFeaturesTestHelpers.h" 19 #include "platform/testing/RuntimeEnabledFeaturesTestHelpers.h"
19 #include "testing/gmock/include/gmock/gmock.h" 20 #include "testing/gmock/include/gmock/gmock.h"
20 #include "testing/gtest/include/gtest/gtest.h" 21 #include "testing/gtest/include/gtest/gtest.h"
21 #include <memory>
22 22
23 using blink::testing::createOpacityOnlyEffect; 23 using blink::testing::createOpacityOnlyEffect;
24 using blink::testing::defaultPaintChunkProperties; 24 using blink::testing::defaultPaintChunkProperties;
25 using testing::UnorderedElementsAre; 25 using testing::UnorderedElementsAre;
26 26
27 namespace blink { 27 namespace blink {
28 28
29 class PaintControllerTestBase : public ::testing::Test { 29 class PaintControllerTestBase : public ::testing::Test {
30 public: 30 public:
31 PaintControllerTestBase() : m_paintController(PaintController::create()) {} 31 PaintControllerTestBase() : m_paintController(PaintController::create()) {}
(...skipping 2272 matching lines...) Expand 10 before | Expand all | Expand 10 after
2304 } 2304 }
2305 2305
2306 TEST_F(PaintControllerUnderInvalidationTest, 2306 TEST_F(PaintControllerUnderInvalidationTest,
2307 FoldCompositingDrawingInSubsequence) { 2307 FoldCompositingDrawingInSubsequence) {
2308 testFoldCompositingDrawingInSubsequence(); 2308 testFoldCompositingDrawingInSubsequence();
2309 } 2309 }
2310 2310
2311 #endif // defined(GTEST_HAS_DEATH_TEST) && !OS(ANDROID) 2311 #endif // defined(GTEST_HAS_DEATH_TEST) && !OS(ANDROID)
2312 2312
2313 } // namespace blink 2313 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698