Chromium Code Reviews| Index: Source/core/frame/History.cpp |
| diff --git a/Source/core/frame/History.cpp b/Source/core/frame/History.cpp |
| index d0f861ab9613c7a9ab369057c25e5c0100f48918..a98b566f7a7e2e2f73d8e9627307c3f93b0eed9a 100644 |
| --- a/Source/core/frame/History.cpp |
| +++ b/Source/core/frame/History.cpp |
| @@ -106,7 +106,7 @@ void History::go(ExecutionContext* context, int distance) |
| if (!activeDocument) |
| return; |
| - if (!activeDocument->canNavigate(*m_frame)) |
| + if (!activeDocument->frame()->canNavigate(*m_frame)) |
|
dcheng
2015/01/08 23:17:26
Does this need a similar null check for frame()/
Nate Chapin
2015/01/09 00:12:46
Done.
|
| return; |
| if (distance) |