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

Unified Diff: chrome/renderer/printing/print_web_view_helper.h

Issue 463123004: Revert of r287982 Fix for race condition... (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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: chrome/renderer/printing/print_web_view_helper.h
diff --git a/chrome/renderer/printing/print_web_view_helper.h b/chrome/renderer/printing/print_web_view_helper.h
index 6c254c86f29f84bcb72b44cf1dd8a3b14f1daee3..71ff88c17a91242743826d31103a9c9c2921ff5e 100644
--- a/chrome/renderer/printing/print_web_view_helper.h
+++ b/chrome/renderer/printing/print_web_view_helper.h
@@ -7,7 +7,6 @@
#include <vector>
-#include "base/callback.h"
#include "base/gtest_prod_util.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/shared_memory.h"
@@ -462,12 +461,6 @@
bool is_loading_;
bool is_scripted_preview_delayed_;
base::WeakPtrFactory<PrintWebViewHelper> weak_ptr_factory_;
-
- // Used to fix a race condition where the source is a PDF and print preview
- // hangs because RequestPrintPreview is called before DidStopLoading() is
- // called. This is a store for the RequestPrintPreview() call and its
- // parameters so that it can be invoked after DidStopLoading.
- base::Closure on_stop_loading_closure_;
DISALLOW_COPY_AND_ASSIGN(PrintWebViewHelper);
};
« no previous file with comments | « no previous file | chrome/renderer/printing/print_web_view_helper.cc » ('j') | chrome/renderer/printing/print_web_view_helper.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698