Remove virtual destructors for several graphics classes

Remove destructors for several graphics classes as these were empty and
marked as virtual. This avoids creating unnecessary vtables since these
classes are never subclasses nor do they have any virtual function.

BUG=311561

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160590 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add Vibration API layout tests that inspect internal state.

Split the files according to test area.

BUG=310144

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160591 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move WebPrerenderingSupport to platform/

BUG=297477

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160592 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Improve TypeError messages from failed array conversions.

Should the conversion of a value into a native array fail due to it
not having a sequence type, throw the expected TypeError but with a
message that better explains what failed.

Address this by extending the two v8 bindings helpers
WebCore::toNativeArray() and WebCore::toRefPtrNativeArray() with an
extra argument to indicate either the property name that's being
converted to an array, or its argument index position (1-indexed.)
(Or 0, if it is a setter with an array/sequence type.) In the case of
toRefPtrNativeArray(), either a property name or an argument index
might supplied; toNativeArray() only needs to support the argument
indexed form.

The code generator has been extended to supply the extra argument when
calling upon these two array conversion helpers.

So, if the array conversion fails due to the value not being array (or
array-like), the TypeError's message is now generated by a pair of
ExceptionMessages helper methods:

 static String notASequenceTypeArgumentOrValue(int argumentIndexOrValue);
 static String notASequenceTypeProperty(const String& propertyName);

which handles the argument/setter value and property case,
respectively. The output will be of the form

 {X} is not an array, nor does it have indexed properties.

where X is one of

   "'{ThePropertyName}' property"
   "Value"
   "Argument {First,Second,Third,<N>th}"

R=
BUG=308730

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160593 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove virtual destructors for several platform support classes

Remove destructors for the following platform support classes:
WebRTCICECandidatePrivate, WebRTCSessionDescriptionPrivate and WebSourceInfoPrivate.

Those destructors were empty and marked as virtual. This avoid creating unnecessary
vtables since these classes are never subclassed, nor do they have any virtual
function.

BUG=311561

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160594 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert 160402 "Intentionally bloat RenderObject"

This was an experiment, we now have enough perf feedback.

> Intentionally bloat RenderObject
> 
> This has been talked about for years that we should never
> grow RenderObject or else we would regress performance. We
> have enough coverage to catch and quantify any performance
> hit so let's land this and rock 'n' roll.
> 
> Review URL: https://codereview.chromium.org/35333003

TBR=jchaffraix@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160595 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Fix search across sources UI and behavior.

R=pfeldman

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160596 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Devirtualize destructors for several mediastream platform classes

Devirtualize destructors for several mediastream platform classes to avoid
creating unnecessary vtables. Those classes are never subclasses, nor do they
have any virtual function.

BUG=311561

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160597 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove XMLTreeViewer virtual destructor

Remove destructor for XMLTreeViewer as it was empty and marked as virtual.
This avoids creating an unnecessary vtable as this class is never subclassed
nor does it have any virtual function.

BUG=311561

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160598 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove HistogramSupport abstraction layer

No longer needed in Blink. Call Platform.h functions directly

BUG=297477

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160599 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[devtools] Improve flaky test debugger-script-preprocessor.html

Don't test the blank sourceURLs from system evals,
they can vary

BUG=310924

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160600 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Devirtualize ImageQualityController and TextAutosizer destructors

Devirtualize ImageQualityController and TextAutosizer destructors as these
classes are never subclasses, nor do they have any virtual function.
This avoids creating unnecessary vtables.

BUG=311561

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160601 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix segfault if WebViewImpl.setBaseBackgroundColor is called before mainFrame has been initialized.

This fix is needed for change https://codereview.chromium.org/39733002.

BUG=307113

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160602 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add WebDataSource::appendRedirect for cross-process redirects.

BUG=104576

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

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