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

Unified Diff: Source/WebCore/platform/graphics/chromium/cc/CCTextureUpdateQueue.cpp

Issue 10836250: Merge 125577 - [chromium] race between CCLayerTreeHostImpl::releaseContentsTextures and CCThreadPro… (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1229/
Patch Set: Created 8 years, 4 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: Source/WebCore/platform/graphics/chromium/cc/CCTextureUpdateQueue.cpp
===================================================================
--- Source/WebCore/platform/graphics/chromium/cc/CCTextureUpdateQueue.cpp (revision 125598)
+++ Source/WebCore/platform/graphics/chromium/cc/CCTextureUpdateQueue.cpp (working copy)
@@ -54,6 +54,12 @@
m_copyEntries.append(copy);
}
+void CCTextureUpdateQueue::clearUploads()
+{
+ m_fullEntries.clear();
+ m_partialEntries.clear();
+}
+
TextureUploader::Parameters CCTextureUpdateQueue::takeFirstFullUpload()
{
return m_fullEntries.takeFirst();

Powered by Google App Engine
This is Rietveld 408576698