Commit 79f584df authored by Fernando Serboncini's avatar Fernando Serboncini Committed by Commit Bot

RegisterContextToDispatch can be called from main canvas too

So calling it should be a noop, not an error.

Change-Id: Id92d427c1e5e9f5795881de30f322a4556f6ade1
Reviewed-on: https://chromium-review.googlesource.com/1042958Reviewed-by: default avatarBill Orr <billorr@chromium.org>
Commit-Queue: Fernando Serboncini <fserb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#555928}
parent e062d6f0
......@@ -63,9 +63,7 @@ class CORE_EXPORT CanvasRenderingContextHost : public GarbageCollectedMixin {
bool IsPaintable() const;
virtual void RegisterContextToDispatch(CanvasRenderingContext*) {
NOTIMPLEMENTED();
}
virtual void RegisterContextToDispatch(CanvasRenderingContext*) {}
protected:
virtual ~CanvasRenderingContextHost() {}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment