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

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

Issue 1362973004: Rename FROM_HERE to BLINK_FROM_HERE. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update Created 5 years, 2 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 43cecb80cf7d1dea7439344d236cedbc0d454db0..d42f8f3c0309ea982f0746027222b80e9daad330 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
+++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
@@ -5128,7 +5128,7 @@ void WebGLRenderingContextBase::loseContextImpl(WebGLRenderingContextBase::LostC
// Always defer the dispatch of the context lost event, to implement
// the spec behavior of queueing a task.
- m_dispatchContextLostEventTimer.startOneShot(0, FROM_HERE);
+ m_dispatchContextLostEventTimer.startOneShot(0, BLINK_FROM_HERE);
}
void WebGLRenderingContextBase::forceRestoreContext()
@@ -5145,7 +5145,7 @@ void WebGLRenderingContextBase::forceRestoreContext()
}
if (!m_restoreTimer.isActive())
- m_restoreTimer.startOneShot(0, FROM_HERE);
+ m_restoreTimer.startOneShot(0, BLINK_FROM_HERE);
}
WebLayer* WebGLRenderingContextBase::platformLayer() const
@@ -6467,7 +6467,7 @@ void WebGLRenderingContextBase::dispatchContextLostEvent(Timer<WebGLRenderingCon
m_restoreAllowed = event->defaultPrevented();
if (m_restoreAllowed) {
if (m_autoRecoveryMethod == Auto)
- m_restoreTimer.startOneShot(0, FROM_HERE);
+ m_restoreTimer.startOneShot(0, BLINK_FROM_HERE);
}
}
@@ -6509,7 +6509,7 @@ void WebGLRenderingContextBase::maybeRestoreContext(Timer<WebGLRenderingContextB
}
if (!buffer) {
if (m_contextLostMode == RealLostContext) {
- m_restoreTimer.startOneShot(secondsBetweenRestoreAttempts, FROM_HERE);
+ m_restoreTimer.startOneShot(secondsBetweenRestoreAttempts, BLINK_FROM_HERE);
} else {
// This likely shouldn't happen but is the best way to report it to the WebGL app.
synthesizeGLError(GL_INVALID_OPERATION, "", "error restoring context");

Powered by Google App Engine
This is Rietveld 408576698