Modified: trunk/Source/WebCore/ChangeLog (106243 => 106244)
--- trunk/Source/WebCore/ChangeLog 2012-01-30 15:24:22 UTC (rev 106243)
+++ trunk/Source/WebCore/ChangeLog 2012-01-30 15:49:23 UTC (rev 106244)
@@ -1,3 +1,11 @@
+2012-01-30 Yury Semikhatsky <[email protected]>
+
+ Unreviewed. Fix inspector front-end compilation.
+
+ * inspector/front-end/RemoteObject.js:
+ (WebInspector.RemoteObject):
+ (WebInspector.RemoteObject.fromPayload):
+
2012-01-30 Roland Steiner <[email protected]>
Node::parentOrHostElement(): Node::shadowHost() already returns an Element*
Modified: trunk/Source/WebCore/inspector/front-end/RemoteObject.js (106243 => 106244)
--- trunk/Source/WebCore/inspector/front-end/RemoteObject.js 2012-01-30 15:24:22 UTC (rev 106243)
+++ trunk/Source/WebCore/inspector/front-end/RemoteObject.js 2012-01-30 15:49:23 UTC (rev 106244)
@@ -35,9 +35,8 @@
* @param {string|undefined} subtype
* @param {*} value
* @param {string=} description
- * @param {string|undefined} functionName
*/
-WebInspector.RemoteObject = function(objectId, type, subtype, value, description, functionName)
+WebInspector.RemoteObject = function(objectId, type, subtype, value, description)
{
this._type = type;
this._subtype = subtype;
@@ -45,7 +44,6 @@
// handle
this._objectId = objectId;
this._description = description;
- this._functionName = functionName;
this._hasChildren = true;
} else {
// Primitive or null object.
@@ -106,7 +104,7 @@
{
console.assert(typeof payload === "object", "Remote object payload should only be an object");
- return new WebInspector.RemoteObject(payload.objectId, payload.type, payload.subtype, payload.value, payload.description, payload.functionName);
+ return new WebInspector.RemoteObject(payload.objectId, payload.type, payload.subtype, payload.value, payload.description);
}
/**
@@ -150,12 +148,6 @@
return this._description;
},
- /** @return {string|undefined} */
- get functionName()
- {
- return this._functionName;
- },
-
/** @return {boolean} */
get hasChildren()
{