Index: Source/core/html/HTMLCanvasElement.cpp |
diff --git a/Source/core/html/HTMLCanvasElement.cpp b/Source/core/html/HTMLCanvasElement.cpp |
index 94f0dc4c53dd9baa8570ad755f88eff35ea97a7c..18f4aa6e2c097c0ae00a90a840cc96159c500793 100644 |
--- a/Source/core/html/HTMLCanvasElement.cpp |
+++ b/Source/core/html/HTMLCanvasElement.cpp |
@@ -112,7 +112,7 @@ void HTMLCanvasElement::parseAttribute(const QualifiedName& name, const AtomicSt |
RenderObject* HTMLCanvasElement::createRenderer(RenderStyle* style) |
{ |
Frame* frame = document().frame(); |
- if (frame && frame->script()->canExecuteScripts(NotAboutToExecuteScript)) { |
+ if (frame && frame->script().canExecuteScripts(NotAboutToExecuteScript)) { |
m_rendererIsCanvas = true; |
return new RenderHTMLCanvas(this); |
} |