| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index ba5b492d8a09ca138514212b613758868b392cdd..bb1befff42ad782cca0803922720d80baf23c5b1 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -2653,7 +2653,7 @@
|
| // The DocumentLoader (and thus its DocumentLoadTiming) might get destroyed
|
| // while dispatching the event, so protect it to prevent writing the end
|
| // time into freed memory.
|
| - RefPtrWillBeRawPtr<DocumentLoader> documentLoader = m_frame->loader().provisionalDocumentLoader();
|
| + RefPtr<DocumentLoader> documentLoader = m_frame->loader().provisionalDocumentLoader();
|
| m_loadEventProgress = UnloadEventInProgress;
|
| RefPtrWillBeRawPtr<Event> unloadEvent(Event::create(EventTypeNames::unload));
|
| if (documentLoader && !documentLoader->timing().unloadEventStart() && !documentLoader->timing().unloadEventEnd()) {
|
| @@ -5258,7 +5258,7 @@
|
| Node* node = doc->focusedElement();
|
| if (!node && doc->isPluginDocument()) {
|
| PluginDocument* pluginDocument = toPluginDocument(doc);
|
| - node = pluginDocument->pluginNode();
|
| + node = pluginDocument->pluginNode();
|
| }
|
| if (!node && doc->isHTMLDocument())
|
| node = doc->body();
|
|
|