| Index: pdf/out_of_process_instance.cc
|
| diff --git a/pdf/out_of_process_instance.cc b/pdf/out_of_process_instance.cc
|
| index eb1c17a022a4d67a78c2a5c83f29e1c109e630a3..0eab6bc8c64b55951a856e2a28c0a58c909d897c 100644
|
| --- a/pdf/out_of_process_instance.cc
|
| +++ b/pdf/out_of_process_instance.cc
|
| @@ -282,9 +282,7 @@ OutOfProcessInstance::OutOfProcessInstance(PP_Instance instance)
|
| preview_document_load_state_(LOAD_STATE_COMPLETE),
|
| uma_(this),
|
| told_browser_about_unsupported_feature_(false),
|
| -#if defined(OS_LINUX)
|
| font_substitution_reported_(false),
|
| -#endif
|
| print_preview_page_count_(0),
|
| last_progress_sent_(0),
|
| recently_sent_find_update_(false),
|
| @@ -1200,10 +1198,8 @@ void OutOfProcessInstance::DocumentLoadComplete(int page_count) {
|
| UserMetricsRecordAction("PDF.LoadSuccess");
|
| uma_.HistogramEnumeration("PDF.DocumentFeature", LOADED_DOCUMENT,
|
| FEATURES_COUNT);
|
| -#if defined(OS_LINUX)
|
| if (!font_substitution_reported_)
|
| uma_.HistogramEnumeration("PDF.IsFontSubstituted", 0, 2);
|
| -#endif
|
|
|
| // Note: If we are in print preview mode the scroll location is retained
|
| // across document loads so we don't want to scroll again and override it.
|
| @@ -1311,12 +1307,10 @@ void OutOfProcessInstance::DocumentLoadFailed() {
|
| }
|
|
|
| void OutOfProcessInstance::FontSubstituted() {
|
| -#if defined(OS_LINUX)
|
| if (font_substitution_reported_)
|
| return;
|
| font_substitution_reported_ = true;
|
| uma_.HistogramEnumeration("PDF.IsFontSubstituted", 1, 2);
|
| -#endif
|
| }
|
|
|
| void OutOfProcessInstance::PreviewDocumentLoadFailed() {
|
|
|