OLD | NEW |
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 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 } | 257 } |
258 | 258 |
259 void postDelayedTask(const WebTraceLocation&, Task*, double delayMs) ove
rride { NOTREACHED(); }; | 259 void postDelayedTask(const WebTraceLocation&, Task*, double delayMs) ove
rride { NOTREACHED(); }; |
260 | 260 |
261 bool runsTasksOnCurrentThread() override | 261 bool runsTasksOnCurrentThread() override |
262 { | 262 { |
263 NOTREACHED(); | 263 NOTREACHED(); |
264 return true; | 264 return true; |
265 } | 265 } |
266 | 266 |
267 WebTaskRunner* clone() override | 267 std::unique_ptr<WebTaskRunner> clone() override |
268 { | 268 { |
269 NOTREACHED(); | 269 NOTREACHED(); |
270 return nullptr; | 270 return nullptr; |
271 } | 271 } |
272 | 272 |
273 double virtualTimeSeconds() const override | 273 double virtualTimeSeconds() const override |
274 { | 274 { |
275 NOTREACHED(); | 275 NOTREACHED(); |
276 return 0.0; | 276 return 0.0; |
277 } | 277 } |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
391 expectDisplayListEnabled(true); | 391 expectDisplayListEnabled(true); |
392 } | 392 } |
393 | 393 |
394 TEST_F(RecordingImageBufferSurfaceTest, testClearRect) | 394 TEST_F(RecordingImageBufferSurfaceTest, testClearRect) |
395 { | 395 { |
396 CALL_TEST_TASK_WRAPPER(testClearRect); | 396 CALL_TEST_TASK_WRAPPER(testClearRect); |
397 expectDisplayListEnabled(true); | 397 expectDisplayListEnabled(true); |
398 } | 398 } |
399 | 399 |
400 } // namespace blink | 400 } // namespace blink |
OLD | NEW |