Skip to content

Commit f570026

Browse files
author
Andrii.Boichuk
committed
Unimportant small refactoring change
1 parent b032887 commit f570026

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/webdriver/extension_qt/qwebkit_proxy.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1062,7 +1062,7 @@ Error* QWebkitProxy::GetPlayingPosition(const ElementId& element, double* releti
10621062
return NULL;
10631063
}
10641064

1065-
Error* QWebkitProxy::SetPlayingPosition(const ElementId& element, const double reletivePos) {
1065+
Error* QWebkitProxy::SetPlayingPosition(const ElementId& element, const double pos) {
10661066
Value* value = NULL;
10671067

10681068
std::string tagName;
@@ -1080,7 +1080,7 @@ Error* QWebkitProxy::SetPlayingPosition(const ElementId& element, const double r
10801080
GetFrame(session_->current_frame()),
10811081
"function(elem, time) { elem.currentTime = time; }",
10821082
"setPosition",
1083-
CreateListValueFrom(element, reletivePos),
1083+
CreateListValueFrom(element, pos),
10841084
CreateDirectValueParser(&value));
10851085
scoped_ptr<Value> scoped_value(value);
10861086

0 commit comments

Comments
 (0)