Chromium Code Reviews| Index: components/pdf/renderer/pepper_pdf_host.cc |
| diff --git a/components/pdf/renderer/pepper_pdf_host.cc b/components/pdf/renderer/pepper_pdf_host.cc |
| index ab9418b33db14ef60cd5f21fd768156e506731a6..638c2089fdf8765f380a231502b27a975a60c2f1 100644 |
| --- a/components/pdf/renderer/pepper_pdf_host.cc |
| +++ b/components/pdf/renderer/pepper_pdf_host.cc |
| @@ -142,6 +142,11 @@ int32_t PepperPDFHost::OnHostMsgHasUnsupportedFeature( |
| if (!instance) |
| return PP_ERROR_FAILED; |
| + // TODO(thestig): Turn CHECKs into the proper if statement after figuring ut |
|
tommycli
2016/07/13 21:51:02
nit: "figuring ut" typo
Lei Zhang
2016/07/13 21:52:45
Clearly a case of packet loss between chair and ke
|
| + // what's wrong for https://crbug.com/627814 |
| + CHECK(instance->GetContainer()); |
| + CHECK(instance->GetContainer()->document().frame()); |
| + CHECK(instance->GetContainer()->document().frame()->view()); |
| blink::WebView* view = |
| instance->GetContainer()->document().frame()->view(); |
| content::RenderView* render_view = content::RenderView::FromWebView(view); |