https://bugs.webkit.org/show_bug.cgi?id=142331
Reviewed by Gyuyoung Kim.
* CMakeLists.txt:
* inspector/InspectorReplayAgent.cpp:
(WebCore::buildInspectorObjectForSessionState):
(WebCore::buildInspectorObjectForSegmentState):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@181081
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
"${JAVASCRIPTCORE_DIR}/replay"
)
- set(WebCore_WEB_REPLAY_INPUTS ${CMAKE_CURRENT_SOURCE_DIR}/replay/WebInputs.json)
+ set(WebCore_WEB_REPLAY_INPUTS ${CMAKE_CURRENT_SOURCE_DIR}/replay/WebInputs.json ${JAVASCRIPTCORE_DIR}/replay/JSInputs.json)
add_custom_command(
OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/WebReplayInputs.h ${DERIVED_SOURCES_WEBCORE_DIR}/WebReplayInputs.cpp
MAIN_DEPENDENCY ${JAVASCRIPTCORE_DIR}/replay/scripts/CodeGeneratorReplayInputs.py
+2015-03-05 Csaba Osztrogonác <ossy@webkit.org>
+
+ [cmake] Fix the web replay build
+ https://bugs.webkit.org/show_bug.cgi?id=142331
+
+ Reviewed by Gyuyoung Kim.
+
+ * CMakeLists.txt:
+ * inspector/InspectorReplayAgent.cpp:
+ (WebCore::buildInspectorObjectForSessionState):
+ (WebCore::buildInspectorObjectForSegmentState):
+
2015-03-05 Carlos Garcia Campos <cgarcia@igalia.com>
[SOUP] Check TLS errors as soon as they are set in the SoupMessage
case WebCore::SessionState::Inactive: return Inspector::Protocol::Replay::SessionState::Inactive;
case WebCore::SessionState::Replaying: return Inspector::Protocol::Replay::SessionState::Replaying;
}
+
+ RELEASE_ASSERT_NOT_REACHED();
+ return Inspector::Protocol::Replay::SessionState::Inactive;
}
static Inspector::Protocol::Replay::SegmentState buildInspectorObjectForSegmentState(WebCore::SegmentState segmentState)
case WebCore::SegmentState::Loaded: return Inspector::Protocol::Replay::SegmentState::Loaded;
case WebCore::SegmentState::Dispatching: return Inspector::Protocol::Replay::SegmentState::Dispatching;
}
+
+ RELEASE_ASSERT_NOT_REACHED();
+ return Inspector::Protocol::Replay::SegmentState::Unloaded;
}
class SerializeInputToJSONFunctor {