summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorcreis@chromium.org <creis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-05 23:24:29 +0000
committercreis@chromium.org <creis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-05 23:24:29 +0000
commit5027949d2b3b0e39a7ea16fcfef9a2984cf0298a (patch)
tree8e4ff52aaea7141ec9e60cace882190a6305cc92 /apps
parent8aadf0361638727bbc0dc481e328cd8b25cf7eec (diff)
downloadchromium_src-5027949d2b3b0e39a7ea16fcfef9a2984cf0298a.zip
chromium_src-5027949d2b3b0e39a7ea16fcfef9a2984cf0298a.tar.gz
chromium_src-5027949d2b3b0e39a7ea16fcfef9a2984cf0298a.tar.bz2
Remove page IDs from three WebContentsObserver APIs that don't need it.
Page IDs are not safe to use on their own, without knowing which SiteInstance they correspond to. BUG=369661 TEST=Dead code, no behavior change. TBR=jam TBR=mkosiba Review URL: https://codereview.chromium.org/266053003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268312 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'apps')
-rw-r--r--apps/app_window.cc2
-rw-r--r--apps/app_window.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_window.cc b/apps/app_window.cc
index 84fb3e6..5c91b5c 100644
--- a/apps/app_window.cc
+++ b/apps/app_window.cc
@@ -479,7 +479,7 @@ bool AppWindow::PreHandleGestureEvent(WebContents* source,
event.type == blink::WebGestureEvent::GesturePinchEnd;
}
-void AppWindow::DidFirstVisuallyNonEmptyPaint(int32 page_id) {
+void AppWindow::DidFirstVisuallyNonEmptyPaint() {
first_paint_complete_ = true;
if (show_on_first_paint_) {
DCHECK(delayed_show_type_ == SHOW_ACTIVE ||
diff --git a/apps/app_window.h b/apps/app_window.h
index 9e37a07..3fd5757 100644
--- a/apps/app_window.h
+++ b/apps/app_window.h
@@ -405,7 +405,7 @@ class AppWindow : public content::NotificationObserver,
OVERRIDE;
// content::WebContentsObserver implementation.
- virtual void DidFirstVisuallyNonEmptyPaint(int32 page_id) OVERRIDE;
+ virtual void DidFirstVisuallyNonEmptyPaint() OVERRIDE;
// content::NotificationObserver implementation.
virtual void Observe(int type,