| Index: Source/core/html/canvas/WebGLRenderingContextBase.cpp
|
| diff --git a/Source/core/html/canvas/WebGLRenderingContextBase.cpp b/Source/core/html/canvas/WebGLRenderingContextBase.cpp
|
| index 9cb160de17040a7b4b777741ed8cab90e0fcbbef..68ad1dab390afc312793f72a671aa08f88b3f8d1 100644
|
| --- a/Source/core/html/canvas/WebGLRenderingContextBase.cpp
|
| +++ b/Source/core/html/canvas/WebGLRenderingContextBase.cpp
|
| @@ -70,6 +70,7 @@
|
| #include "core/html/canvas/WebGLSharedWebGraphicsContext3D.h"
|
| #include "core/html/canvas/WebGLTexture.h"
|
| #include "core/html/canvas/WebGLUniformLocation.h"
|
| +#include "core/inspector/ConsoleMessage.h"
|
| #include "core/inspector/InspectorInstrumentation.h"
|
| #include "core/loader/FrameLoader.h"
|
| #include "core/loader/FrameLoaderClient.h"
|
| @@ -5106,7 +5107,7 @@ void WebGLRenderingContextBase::printWarningToConsole(const String& message)
|
| {
|
| if (!canvas())
|
| return;
|
| - canvas()->document().addConsoleMessage(RenderingMessageSource, WarningMessageLevel, message);
|
| + canvas()->document().addConsoleMessage(ConsoleMessage::create(RenderingMessageSource, WarningMessageLevel, message));
|
| }
|
|
|
| bool WebGLRenderingContextBase::validateFramebufferFuncParameters(const char* functionName, GLenum target, GLenum attachment)
|
|
|