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 b6b068ae777a5d9ebd38c434ac6f0057e3308f0d..517300b9d94bc28a38866f5690b78bda6ed46239 100644 |
--- a/chrome/renderer/printing/print_web_view_helper.h |
+++ b/chrome/renderer/printing/print_web_view_helper.h |
@@ -459,13 +459,15 @@ class PrintWebViewHelper |
PrintPreviewContext print_preview_context_; |
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_; |
+ |
+ base::WeakPtrFactory<PrintWebViewHelper> weak_ptr_factory_; |
+ |
DISALLOW_COPY_AND_ASSIGN(PrintWebViewHelper); |
}; |