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

Unified Diff: content/renderer/render_frame_impl.cc

Issue 1747283003: Remove redundant codepath for webgl api blocking (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: better handle 'exit_on_context_lost' 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: content/renderer/render_frame_impl.cc
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
index 9cf995341c4fcc527670ec6fb5a23cb44729e9f5..f595e49f5c2f22b0e3208426efdf445d2559751b 100644
--- a/content/renderer/render_frame_impl.cc
+++ b/content/renderer/render_frame_impl.cc
@@ -4121,12 +4121,6 @@ bool RenderFrameImpl::allowWebGL(bool default_value) {
return !blocked;
}
-void RenderFrameImpl::didLoseWebGLContext(int arb_robustness_status_code) {
- Send(new FrameHostMsg_DidLose3DContext(
- blink::WebStringToGURL(frame_->top()->getSecurityOrigin().toString()),
- THREE_D_API_TYPE_WEBGL, arb_robustness_status_code));
-}
-
blink::WebScreenOrientationClient*
RenderFrameImpl::webScreenOrientationClient() {
if (!screen_orientation_dispatcher_)

Powered by Google App Engine
This is Rietveld 408576698