Index: third_party/WebKit/LayoutTests/fast/shapes/parsing/parsing-test-utils.js |
diff --git a/third_party/WebKit/LayoutTests/fast/shapes/parsing/parsing-test-utils.js b/third_party/WebKit/LayoutTests/fast/shapes/parsing/parsing-test-utils.js |
index e66918497022b2fc2da06e4dcf9e9346b7d34653..be2146cc04d2bcf26953206cd4ac5324512901c5 100644 |
--- a/third_party/WebKit/LayoutTests/fast/shapes/parsing/parsing-test-utils.js |
+++ b/third_party/WebKit/LayoutTests/fast/shapes/parsing/parsing-test-utils.js |
@@ -253,9 +253,9 @@ function testNotInheritedShapeChildProperty(property, parentValue, childValue, e |
// Need to remove the base URL to avoid having local paths in the expected results. |
function removeBaseURL(src) { |
- var urlRegexp = /url\(([^\)]*)\)/g; |
+ var urlRegexp = /url\(\"([^\)]*)\)/g; |
return src.replace(urlRegexp, function(match, url) { |
- return "url(" + url.substr(url.lastIndexOf("/") + 1) + ")"; |
+ return 'url("' + url.substr(url.lastIndexOf("/") + 1) + ")"; |
}); |
} |