ScriptWrappable & DOMWrapperMap: Get rid of deprecated Persistent handle operations.

In DOMWrapperMap::removeAndDispose: no need to pass the wrapper, since it anyway
searches from the map. The call sites already assert that the relationship
between the key and the wrapper is correct.

This gets rid of more places where Persistent handles are copied
(see bug).

BUG=236290
R=dcarney@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151181 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Mark fast/forms/calendar-picker/week-picker-key-operations.html as failing

BUG=244167
TBR=tkent@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151182 bbb929c8-8fbe-4397-9dbb-9b2b20218538
REGRESSION: Fixed missing null check on HTMLLinkElement::sheet()

This regression was introduced at r150658, where m_link was added.

TEST=link-sheet-out-of-tree.html
BUG=243124
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/16084003

git-svn-id: svn://svn.chromium.org/blink/trunk@151184 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert 151179 "On IE and FireFox, they treats contenteditable="f..."

> On IE and FireFox, they treats contenteditable="false" element as atomic element. When moving caret around it, cursor is placed at start/end of it.
>
> This patch changes Blink(Chrome) behavior as IE and FireFox.
>
> This patch updates tests for behavior change:
> - editing/selection/4889598.html: Removed, because updated version of mixed-editability-3.html does same test, line motion around uneditable table element.
> - editing/selection/mixed-editability-3.html: Changed to cover forward and backward line motion and verify by script rather than editing log and render tree for ease of future maintenance.
> - editing/selection/move-by-line-004.html: Changed for new behavior. Caret can't go cross uneditable table cell as FireFox.
>
> BUG=238000
>
> Review URL: https://chromiumcodereview.appspot.com/14794012

NOTRY=true
TBR=yosin@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151185 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Mark fast/js/date-parse-test.html as flaky, as it fails depending on the local timezone

BUG=244179
TBR=jchaffraix@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151186 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move property setting/removing/addParsedProperty/addParsedProperties functions to MutableStylePropertySet.

Move all functions for setting/removing properties from StylePropertySet to MutableStylePropertySet.
Had to change SVGElement::animatedSMILStyleProperties() & friends to hand out MutableStylePropertySet*
which was always the internal type anyway.

Switch EditingStyle::m_mutableStyle to a RefPtr<MutableStylePropertySet>.

This is a backport from WebKit r148400, r148402, 148403. Patches by Andreas Kling reviewed by Anders Carlsson and Antti Koivisto.

Review URL: https://chromiumcodereview.appspot.com/15821009

git-svn-id: svn://svn.chromium.org/blink/trunk@151189 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Skip inspector-protocol/input/dispatchKeyEvent.html

BUG=244225

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151190 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: [CodeMirror] autocompletion for CodeMirrorTextEditor

Add autocompletion functionality for CodeMirrorTextEditor.
Autocompletion works by maintaining a synchronized state of completion
dictionary so that it contains all the words in the the text document.
The dictionary is updated incrementally by listening to the beforeChange
and onChange events.

BUG=167290
R=vsevik@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151191 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move StylePropertySet internal storage access helpers to subclass.

Removed mutablePropertyVector() since most call sites are inside MutableStylePropertySet
and can access m_propertyVector directly. The few ones that aren't can just cast.

For ImmutableStylePropertySet, moved value/metadata array accessors to the subclass
and remove "immutable" from their names.

Specialize propertyCount() in StylePropertySet subclasses.

This is a backport from WebKit r148404 and 148406. Patches by Andreas Kling and reviewed by Antti Koivisto.

R=apavlov@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151192 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove Internals.setJavaScriptProfilingEnabled

This method was used in some profiler tests which were rewritten to use DevTools remote debugging protocol.

Also removed m_enabled from InspectorProfilerAgent as its value is already stored in the inspector state.

BUG=None
R=alph@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151193 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Only MutableStylePropertySets should be able to have CSSOM wrappers.

Tighten typing so that only MutableStylePropertySets can have CSSOM wrappers associated.
This allows us to get rid of the out-of-line base class destructor.

This is a backport from WebKit r148410. Patch by Andreas Kling reviewed by Antti Koivisto.

R=apavlov@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151194 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Rebaseline layout tests which include list markers after http://crrev.com/14876002

There is a slight visual contraction of disc-style list markers.

BUG=237794
TBR=vollick

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

Patch from Jeremy Roman <jbroman@chromium.org>.

git-svn-id: svn://svn.chromium.org/blink/trunk@151195 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Do not pass security origin to V8 when collecting CPU profiles

Now that console.profiles was removed there is no need to pass
security origin to V8 so that it filter out callstacks based
on the security origin. Instead full CPU profile should be returned
and it is up to the DevTools client to analyze it and perform
filtering.

BUG=None
R=alph@chromium.org

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

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