| Index: third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
|
| diff --git a/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
|
| index fdaecbec8f810feb6f5b7e9c05154ab0c1a1b13c..068317a6a778a96ec851406646925dd0ff5a4a78 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
|
| @@ -349,7 +349,7 @@ void InspectorPageAgent::restore()
|
| ErrorString error;
|
| if (m_state->booleanProperty(PageAgentState::pageAgentEnabled, false))
|
| enable(&error);
|
| - setBlockedEventsWarningThreshold(&error, m_state->numberProperty(PageAgentState::blockedEventsWarningThreshold, 0.0));
|
| + setBlockedEventsWarningThreshold(&error, m_state->doubleProperty(PageAgentState::blockedEventsWarningThreshold, 0.0));
|
| }
|
|
|
| void InspectorPageAgent::enable(ErrorString*)
|
| @@ -750,7 +750,7 @@ void InspectorPageAgent::setOverlayMessage(ErrorString*, const Maybe<String>& me
|
|
|
| void InspectorPageAgent::setBlockedEventsWarningThreshold(ErrorString*, double threshold)
|
| {
|
| - m_state->setNumber(PageAgentState::blockedEventsWarningThreshold, threshold);
|
| + m_state->setDouble(PageAgentState::blockedEventsWarningThreshold, threshold);
|
| FrameHost* host = m_inspectedFrames->root()->host();
|
| if (!host)
|
| return;
|
|
|