Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: cc/test/

Issue 1951193002: cc: Add mailbox support to ResourceProvider write locks. (Closed) Base URL:
Patch Set: cleanup tasks if ordering barrier fails 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/
diff --git a/cc/test/ b/cc/test/
index 9657b6be307476bc9ab19038339c9a6ae990a58d..ecd5fb0485efbcf0296192e91ea630fce448bab1 100644
--- a/cc/test/
+++ b/cc/test/
@@ -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