Revert 165189 "Rendering text-justify:distribute for 8 bit chara..."

Cause memory corruption bugs on ClusterFuzz.

> Rendering text-justify:distribute for 8 bit characters.
> 
> text-justify:distribute provides the ability to justify a line as inter-character level.
> This patch takes care of only 8 bit characters.
> 
> BUG=248894
> 
> Review URL: https://codereview.chromium.org/54743004

TBR=dw.im@samsung.com

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165707 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove unused m_isPlatformFont variable.

This is no longer used, and we can remove it,
as well as the respective plumbing.

R=eae,ksakamoto@chromium.org
BUG=315783

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165708 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix Promise binding.

[1] introduced v8::Isolate* parameter to ScriptPromise constructor,
but it seems that fixing the code generator was missing.
This CL fixes it.

1: https://src.chromium.org/viewvc/blink?view=rev&revision=157950

R=haraken
BUG=263412

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165709 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Replace RenderFullScreen with top layer

This patch makes the Fullscreen API use the top layer, as per the latest
Fullscreen spec:
http://fullscreen.spec.whatwg.org/

Some more details:
- HTMLPlugInElement now retains its widget during reattach. Otherwise,
a video would need to be reloaded when it enters fullscreen.
- The placeholder renderer that was in RenderFullScreen is removed. The
spec doesn't mention such a mechanism and it's better to avoid the
complexity if possible. It was originally added to prevent a flash of a
collapsed page when exiting fullscreen:
https://bugs.webkit.org/show_bug.cgi?id=61897
It's possible we still need it. Either way, it has to be moved from
RenderFullScreen.

Intent to ship:
https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/yJUanvg7d40

BUG=240576,246077

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165710 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add an assertion and use get() in WeakPtr::operator->.

This CL makes WTF::WeakPtr<>::operator-> synchronized with
base::WeakPtr::operator-> in Chromium.

BUG=none
TEST=none; no behavior changes.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165711 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[SVG] SVG{,Animated}Number{,OptionalNumber,List} migration to new SVG property impl.

This CL replaces SVG{,Animated}Number{,OptionalNumber,List} class with NewSVGProperty implementation.

For details, see design doc: https://docs.google.com/document/d/1bg7CUyUszqdwmENY3JX6_PoQD6uHRCNcRPJMlC4qlkw/edit?usp=sharing

BUG=308818

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165712 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Fix console.log for arrays in some corner cases.

We didn't show array values defined on Array.prototype[], as well as non-index property names.

BUG=320632,163817
R=pfeldman

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165713 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move preferred scrollbar style preference change listening from renderer to browser, 3 of 3.

This removes the preferred style listener from Blink, now that the browser
sends the value when it changes over IPC.

BUG=306348

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165714 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove RenderTheme::usesVerticalVolumeSlider().

RenderThemeChromiumSkia and RenderThemeChromiumMac always return false, which means we can eliminate calling code that handles the true case.

BUG=337015

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

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