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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/OffscreenCanvasPlaceholder.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/OffscreenCanvasPlaceholder.h" 5 #include "platform/graphics/OffscreenCanvasPlaceholder.h"
6 6
7 #include "platform/CrossThreadFunctional.h" 7 #include "platform/CrossThreadFunctional.h"
8 #include "platform/WebTaskRunner.h" 8 #include "platform/WebTaskRunner.h"
9 #include "platform/graphics/OffscreenCanvasFrameDispatcher.h" 9 #include "platform/graphics/OffscreenCanvasFrameDispatcher.h"
10 #include "platform/graphics/StaticBitmapImage.h" 10 #include "platform/graphics/StaticBitmapImage.h"
11 #include "wtf/HashMap.h" 11 #include "platform/wtf/HashMap.h"
12 12
13 namespace { 13 namespace {
14 14
15 typedef HashMap<int, blink::OffscreenCanvasPlaceholder*> PlaceholderIdMap; 15 typedef HashMap<int, blink::OffscreenCanvasPlaceholder*> PlaceholderIdMap;
16 16
17 PlaceholderIdMap& placeholderRegistry() { 17 PlaceholderIdMap& placeholderRegistry() {
18 DCHECK(isMainThread()); 18 DCHECK(isMainThread());
19 DEFINE_STATIC_LOCAL(PlaceholderIdMap, s_placeholderRegistry, ()); 19 DEFINE_STATIC_LOCAL(PlaceholderIdMap, s_placeholderRegistry, ());
20 return s_placeholderRegistry; 20 return s_placeholderRegistry;
21 } 21 }
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 m_placeholderFrame->transfer(); 81 m_placeholderFrame->transfer();
82 m_frameDispatcherTaskRunner->postTask( 82 m_frameDispatcherTaskRunner->postTask(
83 BLINK_FROM_HERE, 83 BLINK_FROM_HERE,
84 crossThreadBind(releaseFrameToDispatcher, std::move(m_frameDispatcher), 84 crossThreadBind(releaseFrameToDispatcher, std::move(m_frameDispatcher),
85 std::move(m_placeholderFrame), 85 std::move(m_placeholderFrame),
86 m_placeholderFrameResourceId)); 86 m_placeholderFrameResourceId));
87 } 87 }
88 } 88 }
89 89
90 } // blink 90 } // blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698