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; |