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

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

Issue 2727633006: DevTools: Rename InspectorInstrumentation:: namespace into probe:: (Closed)
Patch Set: Created 3 years, 10 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 d53dc06a04b347f475e2771533dd45048ff04e42..2fd0b3c85393ea4a89217e7d6142843e580b2042 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
+++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
@@ -172,7 +172,7 @@ void WebGLRenderingContextBase::forciblyLoseOldestContext(
return;
candidate->printWarningToConsole(reason);
- InspectorInstrumentation::didFireWebGLWarning(candidate->canvas());
+ probe::didFireWebGLWarning(candidate->canvas());
// This will call deactivateContext once the context has actually been lost.
candidate->forceLostContext(WebGLRenderingContextBase::SyntheticLostContext,
@@ -1440,7 +1440,7 @@ void WebGLRenderingContextBase::onErrorMessage(const char* message,
int32_t id) {
if (m_synthesizedErrorsToConsole)
printGLErrorToConsole(message);
- InspectorInstrumentation::didFireWebGLErrorOrWarning(canvas(), message);
+ probe::didFireWebGLErrorOrWarning(canvas(), message);
}
void WebGLRenderingContextBase::notifyCanvasContextChanged() {
@@ -7636,7 +7636,7 @@ void WebGLRenderingContextBase::synthesizeGLError(
if (!m_lostContextErrors.contains(error))
m_lostContextErrors.push_back(error);
}
- InspectorInstrumentation::didFireWebGLError(canvas(), errorType);
+ probe::didFireWebGLError(canvas(), errorType);
}
void WebGLRenderingContextBase::emitGLWarning(const char* functionName,
@@ -7646,7 +7646,7 @@ void WebGLRenderingContextBase::emitGLWarning(const char* functionName,
String("WebGL: ") + String(functionName) + ": " + String(description);
printGLErrorToConsole(message);
}
- InspectorInstrumentation::didFireWebGLWarning(canvas());
+ probe::didFireWebGLWarning(canvas());
}
void WebGLRenderingContextBase::applyStencilTest() {

Powered by Google App Engine
This is Rietveld 408576698