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

Unified Diff: content/renderer/render_frame_impl.cc

Issue 2319643002: Revert of Add instrumentation to help tracking issue 638400. (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « content/renderer/render_frame_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_frame_impl.cc
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
index f6a1189e9ced6359fbbd09167fdda1a3dd7e26fd..9136254fbe5ed2d697e2982dbaaadd6b2ce68e3a 100644
--- a/content/renderer/render_frame_impl.cc
+++ b/content/renderer/render_frame_impl.cc
@@ -1076,7 +1076,6 @@
#if defined(ENABLE_PLUGINS)
focused_pepper_plugin_(nullptr),
pepper_last_mouse_event_target_(nullptr),
- is_plugin_initializing_(false),
#endif
frame_binding_(this),
has_accessed_initial_document_(false),
@@ -1115,11 +1114,6 @@
}
RenderFrameImpl::~RenderFrameImpl() {
-#if defined(ENABLE_PLUGINS)
- if (is_plugin_initializing_)
- base::debug::DumpWithoutCrashing();
-#endif
-
// If file chooser is still waiting for answer, dispatch empty answer.
while (!file_chooser_completions_.empty()) {
if (file_chooser_completions_.front()->completion) {
@@ -2355,7 +2349,7 @@
const WebPluginInfo& info,
const blink::WebPluginParams& params,
std::unique_ptr<content::PluginInstanceThrottler> throttler) {
- CHECK_EQ(frame_, frame);
+ DCHECK_EQ(frame_, frame);
#if defined(ENABLE_PLUGINS)
if (info.type == WebPluginInfo::PLUGIN_TYPE_BROWSER_PLUGIN) {
return BrowserPluginManager::Get()->CreateBrowserPlugin(
@@ -2371,7 +2365,6 @@
this, info, &pepper_plugin_was_registered));
if (pepper_plugin_was_registered) {
if (pepper_module.get()) {
- is_plugin_initializing_ = true;
return new PepperWebPluginImpl(
pepper_module.get(), params, this,
base::WrapUnique(
@@ -2525,7 +2518,7 @@
blink::WebPlugin* RenderFrameImpl::createPlugin(
blink::WebLocalFrame* frame,
const blink::WebPluginParams& params) {
- CHECK_EQ(frame_, frame);
+ DCHECK_EQ(frame_, frame);
blink::WebPlugin* plugin = NULL;
if (GetContentClient()->renderer()->OverrideCreatePlugin(
this, frame, params, &plugin)) {
@@ -6245,7 +6238,6 @@
#if defined(ENABLE_PLUGINS)
void RenderFrameImpl::PepperInstanceCreated(
PepperPluginInstanceImpl* instance) {
- is_plugin_initializing_ = false;
active_pepper_instances_.insert(instance);
Send(new FrameHostMsg_PepperInstanceCreated(
« no previous file with comments | « content/renderer/render_frame_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698