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

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

Issue 2833133002: Replace ASSERT_NOT_REACHED with NOTREACHED in modules/webgl (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp
diff --git a/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp b/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp
index a5095179b50d608886e47dc71458feb1e055d067..89531ff3fca568047aae676d2f42a7b067375b1b 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp
+++ b/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp
@@ -453,7 +453,7 @@ bool WebGL2RenderingContextBase::ValidateTexFuncLayer(const char* function_name,
}
break;
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return false;
}
return true;
@@ -4525,7 +4525,7 @@ ScriptValue WebGL2RenderingContextBase::getActiveUniforms(
return WebGLAny(script_state, bool_result);
}
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return ScriptValue::CreateNull(script_state);
}
}
@@ -5098,7 +5098,7 @@ bool WebGL2RenderingContextBase::ValidateAndUpdateBufferBindTarget(
bound_uniform_buffer_ = buffer;
break;
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
break;
}
@@ -5168,7 +5168,7 @@ bool WebGL2RenderingContextBase::ValidateAndUpdateBufferBindBaseTarget(
}
break;
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
break;
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698