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

Unified Diff: third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.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 | « third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 a77833a89d4f817d915f84c4876d45f13cfac1e5..b1115150919253d55e9294ac79cc4c062e38364c 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
+++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
@@ -1545,7 +1545,7 @@ bool WebGLRenderingContextBase::PaintRenderingResultsToCanvas(
// succeed because cases where canvas()-buffer() is not accelerated are
// handle before reaching this point. If that assumption ever stops holding
// true, we may need to implement a fallback right here.
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return false;
}
@@ -1711,7 +1711,7 @@ bool WebGLRenderingContextBase::ValidateAndUpdateBufferBindTarget(
bound_vertex_array_object_->SetElementArrayBuffer(buffer);
break;
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return false;
}
@@ -3799,7 +3799,7 @@ ScriptValue WebGLRenderingContextBase::getVertexAttrib(
return WebGLAny(script_state, DOMUint32Array::Create(uint_value, 4));
}
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
break;
}
return ScriptValue::CreateNull(script_state);
@@ -7067,7 +7067,7 @@ bool WebGLRenderingContextBase::ValidateTexFuncData(
"ArrayBufferView is not NULL");
return false;
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
}
unsigned total_bytes_required, skip_bytes;
« no previous file with comments | « third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698