| Index: third_party/WebKit/LayoutTests/inspector/uisourcecode-revisions.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/uisourcecode-revisions.html b/third_party/WebKit/LayoutTests/inspector/uisourcecode-revisions.html
|
| index 4f09e840340ad13bd6c07cd3618eb010b6bc4632..2aee4b3606c59641ec5e47ff8912405812415217 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector/uisourcecode-revisions.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector/uisourcecode-revisions.html
|
| @@ -24,8 +24,9 @@ function test()
|
| {
|
| var content = uiSourceCode._content;
|
| var revisionsString = "";
|
| - for (var i = 0; i < uiSourceCode.history.length; ++i) {
|
| - var revision = uiSourceCode.history[i];
|
| + var history = uiSourceCode.history();
|
| + for (var i = 0; i < history.length; ++i) {
|
| + var revision = history[i];
|
| if (i !== 0)
|
| revisionsString += ", ";
|
| revisionsString += "'" + revision.content + "'";
|
| @@ -102,7 +103,7 @@ function test()
|
|
|
| InspectorTest.addResult("Second revision added.");
|
| dumpUISourceCodeWithRevisions(uiSourceCode);
|
| - uiSourceCode.history[0].revertToThis().then(onReverted);
|
| + uiSourceCode.history()[0].revertToThis().then(onReverted);
|
|
|
| function onReverted()
|
| {
|
| @@ -197,7 +198,7 @@ function test()
|
|
|
| InspectorTest.addResult("Second revision added.");
|
| dumpUISourceCodeWithRevisions(uiSourceCode);
|
| - uiSourceCode.history[0].revertToThis().then(onReverted);
|
| + uiSourceCode.history()[0].revertToThis().then(onReverted);
|
|
|
| function onReverted()
|
| {
|
|
|