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

Unified Diff: third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.h

Issue 2594843002: Implementing promise-based commit for driving OffscreenCanvas animations (Closed)
Patch Set: rebase Created 3 years, 11 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: third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.h
diff --git a/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.h b/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.h
index 16c3d09b014eb654d3133dc569ebb3dbe7d8334f..aea21e293d88f20e0f64b602e72cde3ff95b3baf 100644
--- a/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.h
+++ b/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.h
@@ -37,7 +37,7 @@ class MODULES_EXPORT OffscreenCanvasRenderingContext2D final
}
};
- void commit(ScriptState*, ExceptionState&);
+ ScriptPromise commit(ScriptState*, ExceptionState&);
// CanvasRenderingContext implementation
~OffscreenCanvasRenderingContext2D() override;
@@ -106,8 +106,8 @@ class MODULES_EXPORT OffscreenCanvasRenderingContext2D final
DEFINE_TYPE_CASTS(OffscreenCanvasRenderingContext2D,
CanvasRenderingContext,
context,
- context->is2d() && context->getOffscreenCanvas(),
- context.is2d() && context.getOffscreenCanvas());
+ context->is2d() && context->offscreenCanvas(),
+ context.is2d() && context.offscreenCanvas());
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698