Index: Source/core/frame/History.cpp |
diff --git a/Source/core/frame/History.cpp b/Source/core/frame/History.cpp |
index 039727405262b3849f1a46f332a8b0449d4ccdab..ea3bd5dbbd232be4911c51cb1358434c4043f7c8 100644 |
--- a/Source/core/frame/History.cpp |
+++ b/Source/core/frame/History.cpp |
@@ -108,7 +108,7 @@ void History::forward(ExecutionContext* context) |
go(context, 1); |
} |
-void History::go(ExecutionContext* context, int distance) |
+void History::go(ExecutionContext* context, int delta) |
{ |
if (!m_frame || !m_frame->loader().client()) |
return; |
@@ -121,8 +121,8 @@ void History::go(ExecutionContext* context, int distance) |
if (!activeDocument->frame() || !activeDocument->frame()->canNavigate(*m_frame)) |
return; |
- if (distance) |
- m_frame->loader().client()->navigateBackForward(distance); |
+ if (delta) |
+ m_frame->loader().client()->navigateBackForward(delta); |
else |
m_frame->reload(FrameLoadTypeReload, ClientRedirect); |
} |