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

Unified Diff: cc/test/fake_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: 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/test/fake_raster_buffer_provider.cc
diff --git a/cc/test/fake_raster_buffer_provider.cc b/cc/test/fake_raster_buffer_provider.cc
index 9657b6be307476bc9ab19038339c9a6ae990a58d..ecd5fb0485efbcf0296192e91ea630fce448bab1 100644
--- a/cc/test/fake_raster_buffer_provider.cc
+++ b/cc/test/fake_raster_buffer_provider.cc
@@ -21,7 +21,9 @@ FakeRasterBufferProviderImpl::AcquireBufferForRaster(
void FakeRasterBufferProviderImpl::ReleaseBufferForRaster(
std::unique_ptr<RasterBuffer> buffer) {}
-void FakeRasterBufferProviderImpl::OrderingBarrier() {}
+bool FakeRasterBufferProviderImpl::OrderingBarrier() {
+ return true;
+}
ResourceFormat FakeRasterBufferProviderImpl::GetResourceFormat(
bool must_support_alpha) const {

Powered by Google App Engine
This is Rietveld 408576698