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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.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 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/AcceleratedStaticBitmapImage.h" 5 #include "platform/graphics/AcceleratedStaticBitmapImage.h"
6 6
7 #include "gpu/command_buffer/client/gles2_interface.h" 7 #include "gpu/command_buffer/client/gles2_interface.h"
8 #include "gpu/command_buffer/common/sync_token.h" 8 #include "gpu/command_buffer/common/sync_token.h"
9 #include "platform/graphics/MailboxTextureHolder.h" 9 #include "platform/graphics/MailboxTextureHolder.h"
10 #include "platform/graphics/SkiaTextureHolder.h" 10 #include "platform/graphics/SkiaTextureHolder.h"
11 #include "platform/graphics/gpu/SharedGpuContext.h" 11 #include "platform/graphics/gpu/SharedGpuContext.h"
12 #include "platform/graphics/skia/SkiaUtils.h" 12 #include "platform/graphics/skia/SkiaUtils.h"
13 #include "platform/wtf/PtrUtil.h"
13 #include "public/platform/Platform.h" 14 #include "public/platform/Platform.h"
14 #include "public/platform/WebGraphicsContext3DProvider.h" 15 #include "public/platform/WebGraphicsContext3DProvider.h"
15 #include "third_party/skia/include/core/SkImage.h" 16 #include "third_party/skia/include/core/SkImage.h"
16 #include "wtf/PtrUtil.h"
17 17
18 #include <memory> 18 #include <memory>
19 #include <utility> 19 #include <utility>
20 20
21 namespace blink { 21 namespace blink {
22 22
23 PassRefPtr<AcceleratedStaticBitmapImage> 23 PassRefPtr<AcceleratedStaticBitmapImage>
24 AcceleratedStaticBitmapImage::createFromSharedContextImage( 24 AcceleratedStaticBitmapImage::createFromSharedContextImage(
25 sk_sp<SkImage> image) { 25 sk_sp<SkImage> image) {
26 return adoptRef(new AcceleratedStaticBitmapImage(std::move(image))); 26 return adoptRef(new AcceleratedStaticBitmapImage(std::move(image)));
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 169
170 void AcceleratedStaticBitmapImage::checkThread() { 170 void AcceleratedStaticBitmapImage::checkThread() {
171 if (m_detachThreadAtNextCheck) { 171 if (m_detachThreadAtNextCheck) {
172 m_threadChecker.DetachFromThread(); 172 m_threadChecker.DetachFromThread();
173 m_detachThreadAtNextCheck = false; 173 m_detachThreadAtNextCheck = false;
174 } 174 }
175 CHECK(m_threadChecker.CalledOnValidThread()); 175 CHECK(m_threadChecker.CalledOnValidThread());
176 } 176 }
177 177
178 } // namespace blink 178 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698