DevTools: Fix loading of sources panel in worker frontend

BUG=

Review URL: https://codereview.chromium.org/149753004

git-svn-id: svn://svn.chromium.org/blink/trunk@166386 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Use LocalStyleChange for :hover/:active not affected by descendants.

Before this change, an element that changes its hover/active state would have
its subtree recalculated even if none of its descendants were affected by that
change in hover/active state.

childrenAffectedByHover/Active will still cause a subtree recalc. The reason
is that elements with that flags set will have selectors of type:

  div:hover span { ... }

where a change in the hover state of a div will affect an unknown number of
span elements in its subtree. Elements with affectedByHover/Active and no
childrenAffectedByHover/Active will only match selectors where the :hover or
:active pseudo class is in the rightmost sub-selector. Those can use
LocalStyleChange recalcs since none of the descendants will match affected
selectors.

This CL depends on https://codereview.chromium.org/144963002/

R=esprehn
BUG=337983

Review URL: https://codereview.chromium.org/148243004

git-svn-id: svn://svn.chromium.org/blink/trunk@166387 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Fix default Sources panel editor selection

No editor is currently selected in the Sources panel by default. Regressed in r166357.

R=vsevik
NOTRY=true

Review URL: https://codereview.chromium.org/153633003

git-svn-id: svn://svn.chromium.org/blink/trunk@166388 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Unmark http/tests/workers/terminate-during-sync-operation.html as flaky.

BUG=339539
TBR=dglazkov@chromium.org

Review URL: https://codereview.chromium.org/134193013

git-svn-id: svn://svn.chromium.org/blink/trunk@166389 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix the problem that merging paragraphs including non-editable element brakes.

This patch was originally commited to WebKit:
http://trac.webkit.org/changeset/157944 by Santosh Mahto

When we merge two paragraphs which later one has non-editable elements by deleting the line end, merged paragraph doesn't contain the non-editable elements and elements after the elements.

This happens because endOfParagraphToMove calculation in merging function stop at editing boundary so endOfParagraphToMove becomes position just before non-editable content.
With this patch now endOfParagraphToMove is calculated by skipping over the non-editable element.

BUG=306970

Review URL: https://codereview.chromium.org/141543004

git-svn-id: svn://svn.chromium.org/blink/trunk@166390 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Auto-rebaseline for r166363

http://src.chromium.org/viewvc/blink?view=revision&revision=166363

BUG=332311
TBR=tkent@chromium.org

Review URL: https://codereview.chromium.org/153753002

git-svn-id: svn://svn.chromium.org/blink/trunk@166391 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert of Convert remaining RenderSVG* nodes to RenderObject::isChildAllowed

Revert r165851 and r166238 because of performance regressions (issue 339470).

BUG=339470
TBR=pdr,schenney

Review URL: https://codereview.chromium.org/147213004

git-svn-id: svn://svn.chromium.org/blink/trunk@166392 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Decouple profile data from its representation in the profiles panel's sidebar

Sidebar items now listen to the changes in profile header and update themselves as appropriate. WebInspector.ProfileTypeSidebarSection was introduced to encapsulate part of the sidebar tree corresponding to a single profile type.

BUG=None
R=alph@chromium.org

Review URL: https://codereview.chromium.org/145273027

git-svn-id: svn://svn.chromium.org/blink/trunk@166393 bbb929c8-8fbe-4397-9dbb-9b2b20218538