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

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

Issue 2118903002: scheduler: Move the Blink scheduler into Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 4 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/RecordingImageBufferSurface.h" 5 #include "platform/graphics/RecordingImageBufferSurface.h"
6 6
7 #include "platform/graphics/GraphicsContext.h" 7 #include "platform/graphics/GraphicsContext.h"
8 #include "platform/graphics/ImageBuffer.h" 8 #include "platform/graphics/ImageBuffer.h"
9 #include "platform/graphics/ImageBufferClient.h" 9 #include "platform/graphics/ImageBufferClient.h"
10 #include "platform/graphics/UnacceleratedImageBufferSurface.h" 10 #include "platform/graphics/UnacceleratedImageBufferSurface.h"
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 NOTREACHED(); 275 NOTREACHED();
276 return 0.0; 276 return 0.0;
277 } 277 }
278 278
279 double monotonicallyIncreasingVirtualTimeSeconds() const override 279 double monotonicallyIncreasingVirtualTimeSeconds() const override
280 { 280 {
281 NOTREACHED(); 281 NOTREACHED();
282 return 0.0; 282 return 0.0;
283 } 283 }
284 284
285 base::SingleThreadTaskRunner* taskRunner() override
286 {
287 NOTREACHED();
288 return nullptr;
289 }
290
285 Task* m_task; 291 Task* m_task;
286 }; 292 };
287 293
288 class CurrentThreadMock : public WebThread { 294 class CurrentThreadMock : public WebThread {
289 public: 295 public:
290 CurrentThreadMock() : m_taskObserver(0) { } 296 CurrentThreadMock() : m_taskObserver(0) { }
291 297
292 ~CurrentThreadMock() override 298 ~CurrentThreadMock() override
293 { 299 {
294 EXPECT_EQ((WebTaskRunner::Task*)0, m_taskRunner.m_task); 300 EXPECT_EQ((WebTaskRunner::Task*)0, m_taskRunner.m_task);
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 expectDisplayListEnabled(true); 397 expectDisplayListEnabled(true);
392 } 398 }
393 399
394 TEST_F(RecordingImageBufferSurfaceTest, testClearRect) 400 TEST_F(RecordingImageBufferSurfaceTest, testClearRect)
395 { 401 {
396 CALL_TEST_TASK_WRAPPER(testClearRect); 402 CALL_TEST_TASK_WRAPPER(testClearRect);
397 expectDisplayListEnabled(true); 403 expectDisplayListEnabled(true);
398 } 404 }
399 405
400 } // namespace blink 406 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/blink_platform.gypi ('k') | third_party/WebKit/Source/platform/scheduler/.clang-format » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698