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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/gpu/SharedGpuContext.h

Issue 2841933002: Adding missing include guard for SharedGpuContext.h (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef SharedGpuContext_h
6 #define SharedGpuContext_h
7
5 #include "platform/PlatformExport.h" 8 #include "platform/PlatformExport.h"
6 #include "platform/wtf/ThreadSpecific.h" 9 #include "platform/wtf/ThreadSpecific.h"
7 10
8 #include <memory> 11 #include <memory>
9 12
10 namespace gpu { 13 namespace gpu {
11 namespace gles2 { 14 namespace gles2 {
12 class GLES2Interface; 15 class GLES2Interface;
13 } 16 }
14 } 17 }
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 void CreateContextProviderOnMainThread(WaitableEvent*); 56 void CreateContextProviderOnMainThread(WaitableEvent*);
54 void CreateContextProviderIfNeeded(); 57 void CreateContextProviderIfNeeded();
55 58
56 ContextProviderFactory context_provider_factory_ = nullptr; 59 ContextProviderFactory context_provider_factory_ = nullptr;
57 std::unique_ptr<WebGraphicsContext3DProvider> context_provider_; 60 std::unique_ptr<WebGraphicsContext3DProvider> context_provider_;
58 unsigned context_id_; 61 unsigned context_id_;
59 friend class WTF::ThreadSpecific<SharedGpuContext>; 62 friend class WTF::ThreadSpecific<SharedGpuContext>;
60 }; 63 };
61 64
62 } // blink 65 } // blink
66
67 #endif // SharedGpuContext_h
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698