Add bool InspectorAgentState::*Map::IsEmpty().
Will use this in the InspectorDOMDebuggerAgent and elsewhere, since Keys() returns vector<WTF::String> and it's a bit inefficient / ugly to call .empty() on that. Change-Id: I99f9cb6024077bbc60ada38e46240ac602bf8669 Reviewed-on: https://chromium-review.googlesource.com/1154038Reviewed-by:Andrey Kosyakov <caseq@chromium.org> Commit-Queue: Johannes Henkel <johannes@chromium.org> Cr-Commit-Position: refs/heads/master@{#578885}
Showing
Please register or sign in to comment