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

Unified Diff: third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h

Issue 2110363002: Rename SameThreadClosure to Closure (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@TRV_ExplicitWTFBind
Patch Set: Add WTF:: to Closure Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h
diff --git a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h
index da8806472caa181eed605e3fe078e6c170c49f7c..e0a19da5761fbfe3445f69b93b6f22155621eb72 100644
--- a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h
+++ b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h
@@ -217,7 +217,7 @@ public:
void restoreTextureBindings();
- void addNewMailboxCallback(std::unique_ptr<SameThreadClosure> closure) { m_newMailboxCallback = std::move(closure); }
+ void addNewMailboxCallback(std::unique_ptr<WTF::Closure> closure) { m_newMailboxCallback = std::move(closure); }
protected: // For unittests
DrawingBuffer(
@@ -382,7 +382,7 @@ private:
};
FrontBufferInfo m_frontColorBuffer;
- std::unique_ptr<SameThreadClosure> m_newMailboxCallback;
+ std::unique_ptr<WTF::Closure> m_newMailboxCallback;
// This is used when the user requests either a depth or stencil buffer.
GLuint m_depthStencilBuffer = 0;
« no previous file with comments | « third_party/WebKit/Source/platform/WebThreadSupportingGC.h ('k') | third_party/WebKit/Source/platform/heap/HeapTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698