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

Unified Diff: third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp

Issue 1828353002: Revert of Remove platform/NotImplemented.*. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/webgl/WebGLRenderingContextBase.cpp
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
index b31ca2eb9a676ef22cbaea35e5ea6ca1826ba23d..e156684c20d05c411f7b235db09fb49701e16d35 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
+++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
@@ -86,6 +86,7 @@
#include "modules/webgl/WebGLVertexArrayObject.h"
#include "modules/webgl/WebGLVertexArrayObjectOES.h"
#include "platform/CheckedInt.h"
+#include "platform/NotImplemented.h"
#include "platform/RuntimeEnabledFeatures.h"
#include "platform/geometry/IntSize.h"
#include "platform/graphics/GraphicsContext.h"
@@ -3214,7 +3215,7 @@
return WebGLAny(scriptState, static_cast<bool>(value[0]));
}
default:
- NOTIMPLEMENTED();
+ notImplemented();
}
}
}
@@ -5176,7 +5177,7 @@
ScriptValue WebGLRenderingContextBase::getBooleanArrayParameter(ScriptState* scriptState, GLenum pname)
{
if (pname != GL_COLOR_WRITEMASK) {
- NOTIMPLEMENTED();
+ notImplemented();
return WebGLAny(scriptState, 0, 0);
}
GLboolean value[4] = {0};
@@ -5237,7 +5238,7 @@
length = 4;
break;
default:
- NOTIMPLEMENTED();
+ notImplemented();
}
return WebGLAny(scriptState, DOMFloat32Array::create(value, length));
}
@@ -5257,7 +5258,7 @@
length = 4;
break;
default:
- NOTIMPLEMENTED();
+ notImplemented();
}
return WebGLAny(scriptState, DOMInt32Array::create(value, length));
}
« no previous file with comments | « third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.cpp ('k') | third_party/WebKit/Source/platform/Logging.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698