Index: third_party/WebKit/Source/core/timing/PerformanceEntry.cpp |
diff --git a/third_party/WebKit/Source/core/timing/PerformanceEntry.cpp b/third_party/WebKit/Source/core/timing/PerformanceEntry.cpp |
index 9afabfbc8518eb4fa00ea17937058f79fbd34aee..9e74757fbaa9c53d828ccb9f2eaa5068064890c9 100644 |
--- a/third_party/WebKit/Source/core/timing/PerformanceEntry.cpp |
+++ b/third_party/WebKit/Source/core/timing/PerformanceEntry.cpp |
@@ -83,19 +83,18 @@ PerformanceEntry::EntryType PerformanceEntry::ToEntryTypeEnum( |
return kTaskAttribution; |
if (entry_type == "paint") |
return kPaint; |
- if (entry_type == "server") |
- return kServer; |
return kInvalid; |
} |
ScriptValue PerformanceEntry::toJSONForBinding( |
ScriptState* script_state) const { |
V8ObjectBuilder result(script_state); |
- BuildJSONValue(result); |
+ BuildJSONValue(script_state, result); |
return result.GetScriptValue(); |
} |
-void PerformanceEntry::BuildJSONValue(V8ObjectBuilder& builder) const { |
+void PerformanceEntry::BuildJSONValue(ScriptState* script_state, |
+ V8ObjectBuilder& builder) const { |
builder.AddString("name", name()); |
builder.AddString("entryType", entryType()); |
builder.AddNumber("startTime", startTime()); |