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

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

Issue 2798823002: Rewrite references to "wtf/" to "platform/wtf/" in platform/graphics. (Closed)
Patch Set: Created 3 years, 8 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 <memory>
7 #include "platform/Histogram.h" 8 #include "platform/Histogram.h"
8 #include "platform/graphics/CanvasMetrics.h" 9 #include "platform/graphics/CanvasMetrics.h"
9 #include "platform/graphics/ExpensiveCanvasHeuristicParameters.h" 10 #include "platform/graphics/ExpensiveCanvasHeuristicParameters.h"
10 #include "platform/graphics/GraphicsContext.h" 11 #include "platform/graphics/GraphicsContext.h"
11 #include "platform/graphics/ImageBuffer.h" 12 #include "platform/graphics/ImageBuffer.h"
12 #include "platform/graphics/paint/PaintRecorder.h" 13 #include "platform/graphics/paint/PaintRecorder.h"
13 #include "wtf/PassRefPtr.h" 14 #include "platform/wtf/PassRefPtr.h"
14 #include "wtf/PtrUtil.h" 15 #include "platform/wtf/PtrUtil.h"
15 #include <memory>
16 16
17 namespace blink { 17 namespace blink {
18 18
19 RecordingImageBufferSurface::RecordingImageBufferSurface( 19 RecordingImageBufferSurface::RecordingImageBufferSurface(
20 const IntSize& size, 20 const IntSize& size,
21 std::unique_ptr<RecordingImageBufferFallbackSurfaceFactory> fallbackFactory, 21 std::unique_ptr<RecordingImageBufferFallbackSurfaceFactory> fallbackFactory,
22 OpacityMode opacityMode, 22 OpacityMode opacityMode,
23 sk_sp<SkColorSpace> colorSpace, 23 sk_sp<SkColorSpace> colorSpace,
24 SkColorType colorType) 24 SkColorType colorType)
25 : ImageBufferSurface(size, opacityMode, std::move(colorSpace), colorType), 25 : ImageBufferSurface(size, opacityMode, std::move(colorSpace), colorType),
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 } 405 }
406 406
407 void RecordingImageBufferSurface::setIsHidden(bool hidden) { 407 void RecordingImageBufferSurface::setIsHidden(bool hidden) {
408 if (m_fallbackSurface) 408 if (m_fallbackSurface)
409 m_fallbackSurface->setIsHidden(hidden); 409 m_fallbackSurface->setIsHidden(hidden);
410 else 410 else
411 ImageBufferSurface::setIsHidden(hidden); 411 ImageBufferSurface::setIsHidden(hidden);
412 } 412 }
413 413
414 } // namespace blink 414 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698