Use computedFontSize to calculate the thickness of overline, underline and strikethrough.

Remove current hard coded 1.0px size for the line thickness and compute from the current font size. Keep the minimum thickness at 1px.

BUG=241070
R=abarth, eae

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160795 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix build failure for ENABLE(ORIENTATION_EVENTS)

R=falken@chromium.org
TBR=falken
BUG=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160796 bbb929c8-8fbe-4397-9dbb-9b2b20218538
IDL compiler: DOM node types for methods

Test-only, since already implemented generically when doing attributes.
(Adding test b/c Perl has complicated logic, which we've replaced by
 refactored functions, but want to assert that this is done properly.)

BUG=239771
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160797 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Avoid leaking MessagePortChannels when ports are cloned

MessagePortChannel used to hold a RefPtr to its entangled pair for the
sole purpose of answering MessagePortChannel::isConnectedTo(MessagePort*).
But answering that question only requires a pointer to the MessagePort, not
the channel.

This patch switches MessagePortChannel back to being non-refcounted, as it
was back when PlatformMessagePortChannel still existed. Neutered MessagePorts
thus delete their MessagePortChannel rather than simply deref()-ing them.

In the long run, getting rid of MessagePortChannel altogether and having
MessagePort directly interact with WebMessagePortChannel is probably the
right thing, but an incremental approach is likely the right route.

R=abarth
BUG=311229

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160798 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove unused RenderTextControl::textBaseStyle().

Merges http://trac.webkit.org/changeset/158178
from Andreas Kling <akling@apple.com>

BUG=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160799 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Reland: Implement new Blink IDL attribute [SetReference]

SetReference is a new Blink IDL attribute which can be used to specify dependency from a wrapper to another. This is implemented by calling v8::Isolate::SetReference on minor GC prologues. This has a lower overhead compared to old technique using SetHiddenValueTo.

This patch also modifies DOMDataStore::Current to support call outside any active context.

BUG=307341

Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=159861

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160800 bbb929c8-8fbe-4397-9dbb-9b2b20218538
IDL compiler: Optional arguments for methods

Main complexity here is that the C++ method call can now happen several
places, and varies depending on index (due to omitted optional arguments),
hence factored out into a function.

BUG=239771
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160802 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert 160786 "Revert 160785 "Remove the DateExtension""

> Revert 160785 "Remove the DateExtension"
> 
> Broke Linux ChromiumOS Builder:
> chrome_render_process_observer.cc:356:5: error: 'enableDateExtension' is not a member of 'WebKit::WebRuntimeFeatures'
> 
> > Remove the DateExtension
> > 
> > The DateExtension tried to kill unload handlers that delayed unload by
> > sleeping. However, if a page does this on purpose, it is easy to work
> > around this, plus running v8::Extensions slows down context creation.
> > 
> > BUG=299746
> > R=abarth@chromium.org
> > 
> > Review URL: https://codereview.chromium.org/25001004
> 
> TBR=jochen@chromium.org
> 
> Review URL: https://codereview.chromium.org/50133003

TBR=falken@chromium.org

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

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