Chromium Code Reviews| Index: third_party/WebKit/Source/core/frame/FrameConsole.cpp |
| diff --git a/third_party/WebKit/Source/core/frame/FrameConsole.cpp b/third_party/WebKit/Source/core/frame/FrameConsole.cpp |
| index bdaf01f49af5ad23cfa6c6a56ab50432ac9617d1..259f3ed8e46b6082fe4935b9b914d65c347e9ddd 100644 |
| --- a/third_party/WebKit/Source/core/frame/FrameConsole.cpp |
| +++ b/third_party/WebKit/Source/core/frame/FrameConsole.cpp |
| @@ -101,7 +101,7 @@ void FrameConsole::addMessage(PassRefPtrWillBeRawPtr<ConsoleMessage> prpConsoleM |
| if (consoleMessage->source() == NetworkMessageSource) |
| return; |
| - RefPtrWillBeRawPtr<ScriptCallStack> reportedCallStack = nullptr; |
| + RefPtr<ScriptCallStack> reportedCallStack = nullptr; |
|
sof
2016/01/20 11:39:50
(if you like/prefer, there's no need to initialize
pfeldman
2016/01/20 17:53:28
Done.
|
| if (consoleMessage->source() != ConsoleAPIMessageSource) { |
| if (consoleMessage->callStack() && frame().chromeClient().shouldReportDetailedMessageForSource(frame(), messageURL)) |
| reportedCallStack = consoleMessage->callStack(); |
| @@ -136,7 +136,7 @@ void FrameConsole::reportResourceResponseReceived(DocumentLoader* loader, unsign |
| addMessage(consoleMessage.release()); |
| } |
| -String FrameConsole::formatStackTraceString(const String& originalMessage, PassRefPtrWillBeRawPtr<ScriptCallStack> callStack) |
| +String FrameConsole::formatStackTraceString(const String& originalMessage, PassRefPtr<ScriptCallStack> callStack) |
| { |
| StringBuilder stackTrace; |
| for (size_t i = 0; i < callStack->size(); ++i) { |