summaryrefslogtreecommitdiff
path: root/Source/WebCore/inspector/front-end/StylesSourceMapping.js
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2012-11-07 11:22:47 +0100
committerSimon Hausmann <simon.hausmann@digia.com>2012-11-07 11:22:47 +0100
commitcfd86b747d32ac22246a1aa908eaa720c63a88c1 (patch)
tree24d68c6f61c464ecba1e05670b80390ea3b0e50c /Source/WebCore/inspector/front-end/StylesSourceMapping.js
parent69d7c744c9de19d152dbe2d8e46eb7dfd4511d1a (diff)
downloadqtwebkit-cfd86b747d32ac22246a1aa908eaa720c63a88c1.tar.gz
Imported WebKit commit 20271caf2e2c016d5cef40184cddeefeac4f1876 (http://svn.webkit.org/repository/webkit/trunk@133733)
New snapshot that contains all previous fixes as well as build fix for latest QtMultimedia API changes.
Diffstat (limited to 'Source/WebCore/inspector/front-end/StylesSourceMapping.js')
-rw-r--r--Source/WebCore/inspector/front-end/StylesSourceMapping.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebCore/inspector/front-end/StylesSourceMapping.js b/Source/WebCore/inspector/front-end/StylesSourceMapping.js
index 4de7509dc..bd7e26c2a 100644
--- a/Source/WebCore/inspector/front-end/StylesSourceMapping.js
+++ b/Source/WebCore/inspector/front-end/StylesSourceMapping.js
@@ -49,7 +49,7 @@ WebInspector.StylesSourceMapping.prototype = {
*/
rawLocationToUILocation: function(rawLocation)
{
- var location = /** @type WebInspector.CSSLocation */ rawLocation;
+ var location = /** @type WebInspector.CSSLocation */ (rawLocation);
var uiSourceCode = this._uiSourceCodeForURL[location.url];
return new WebInspector.UILocation(uiSourceCode, location.lineNumber, 0);
},
@@ -67,7 +67,7 @@ WebInspector.StylesSourceMapping.prototype = {
_uiSourceCodeAddedToWorkspace: function(event)
{
- var uiSourceCode = /** @type {WebInspector.UISourceCode} */ event.data;
+ var uiSourceCode = /** @type {WebInspector.UISourceCode} */ (event.data);
if (!uiSourceCode.url || this._uiSourceCodeForURL[uiSourceCode.url])
return;
if (uiSourceCode.contentType() !== WebInspector.resourceTypes.Stylesheet)