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

Unified Diff: cc/raster/bitmap_raster_buffer_provider.cc

Issue 1951193002: cc: Add mailbox support to ResourceProvider write locks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@worker_context_stream
Patch Set: ericrk's review 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: cc/raster/bitmap_raster_buffer_provider.cc
diff --git a/cc/raster/bitmap_raster_buffer_provider.cc b/cc/raster/bitmap_raster_buffer_provider.cc
index 56e4b573888e58d7a4c6e81f3427ed493bd776af..c94f569cfc4599e73ecfb86180e135a641907522 100644
--- a/cc/raster/bitmap_raster_buffer_provider.cc
+++ b/cc/raster/bitmap_raster_buffer_provider.cc
@@ -94,8 +94,9 @@ void BitmapRasterBufferProvider::ReleaseBufferForRaster(
// Nothing to do here. RasterBufferImpl destructor cleans up after itself.
}
-void BitmapRasterBufferProvider::OrderingBarrier() {
+bool BitmapRasterBufferProvider::OrderingBarrier() {
// No need to sync resources as this provider does not use GL context.
+ return true;
}
ResourceFormat BitmapRasterBufferProvider::GetResourceFormat(

Powered by Google App Engine
This is Rietveld 408576698