diff options
author | boliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-15 15:23:26 +0000 |
---|---|---|
committer | boliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-15 15:23:26 +0000 |
commit | 4b3f988d688a9e3667660490350ec6defb4caa9c (patch) | |
tree | d599a168402ceaed0a71080cf3fd19f9aaa75de8 /android_webview | |
parent | c9080d87ebcac163ced2b51f6acba3403e2554ff (diff) | |
download | chromium_src-4b3f988d688a9e3667660490350ec6defb4caa9c.zip chromium_src-4b3f988d688a9e3667660490350ec6defb4caa9c.tar.gz chromium_src-4b3f988d688a9e3667660490350ec6defb4caa9c.tar.bz2 |
[Android WebView] Remove some obsolete TODOs
There is no need to worry about not visible since process mode still
works.
There is no need to worry about processing calling invoke on the next
ViewRenderer because OnDetachFromWindow also processes pending GL
commands by necessity.
Losing global context will be handled in src/content since that's where
the global offscreen contexts live.
BUG=
Review URL: https://chromiumcodereview.appspot.com/23943006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223287 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview')
-rw-r--r-- | android_webview/browser/in_process_view_renderer.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/android_webview/browser/in_process_view_renderer.cc b/android_webview/browser/in_process_view_renderer.cc index 07b4d67..31ca5dc 100644 --- a/android_webview/browser/in_process_view_renderer.cc +++ b/android_webview/browser/in_process_view_renderer.cc @@ -260,18 +260,11 @@ InProcessViewRenderer::~InProcessViewRenderer() { DCHECK(web_contents_ == NULL); // WebContentsGone should have been called. } - -// TODO(boliu): Should also call this when we know for sure we are no longer, -// for example, when visible rect becomes 0. void InProcessViewRenderer::NoLongerExpectsDrawGL() { GLViewRendererManager& mru = g_view_renderer_manager.Get(); if (manager_key_ != mru.NullKey()) { mru.NoLongerExpectsDrawGL(manager_key_); manager_key_ = mru.NullKey(); - - // TODO(boliu): If this is the first one and there are GL pending, - // requestDrawGL on next one. - // TODO(boliu): If this is the last one, lose all global contexts. } } |