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

Unified Diff: content/browser/web_contents/web_contents_impl.h

Issue 1432143002: Track where WebContents are created in order to better understand issue. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Same as Patch Set 3 Created 5 years, 1 month 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/browser/web_contents/web_contents_impl.h
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
index ebc8d0dac8572623fc7dc1c872b4b468c985f8ef..ead8b8ad42f9a1df4c7dd7fcc6c381fdb2b35db5 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -11,6 +11,7 @@
#include "base/compiler_specific.h"
#include "base/containers/scoped_ptr_hash_map.h"
+#include "base/debug/stack_trace.h"
#include "base/gtest_prod_util.h"
#include "base/memory/scoped_ptr.h"
#include "base/observer_list.h"
@@ -373,6 +374,7 @@ class CONTENT_EXPORT WebContentsImpl
void HasManifest(const HasManifestCallback& callback) override;
void ExitFullscreen() override;
void ResumeLoadingCreatedWebContents() override;
+ base::debug::StackTrace stack_trace() override;
#if defined(OS_ANDROID)
void OnMediaSessionStateChanged();
void ResumeMediaSession() override;
@@ -1339,6 +1341,9 @@ class CONTENT_EXPORT WebContentsImpl
bool page_scale_factor_is_one_;
+ // Temporary to track down http://crbug.com/538612
+ base::debug::StackTrace stack_trace_;
+
base::WeakPtrFactory<WebContentsImpl> loading_weak_factory_;
DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
« no previous file with comments | « components/constrained_window/constrained_window_views.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698