Don't populate GlyphBuffer in InlineTextBox::characterWidths

The current InlineTextBox::characterWidths implementation populates a
GlyphBuffer even though it is never used. Change the implementation to
not pass a GlyphBuffer and thereby avoiding the unnecessary work and
allocation costs.

R=dominik.rottsches@intel.com

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182843 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[DevTools] ConsoleAgent should be instrumenting only when it is enabled

To make the console agent instrumented not all time this patch changes the following:
* moved didFailedLoading from ConsoleAgent to FrameConsole
* injectedScriptManager->discardInjectedScriptFor moved from ConsoleAgent::frameWindowDiscarded to PageRuntime agent

The remaining instrumenting methods (addMessageToConsole, consoleTimeline*, consoleMessagesCleared, didFinishXHRLoading) can be called only when the Console Agent is enabled.

BUG=408121

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182844 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Simplify MediaController with C++11 range-base for loops

Some uses of MediaElementSequence::const_iterator remain, where the
first media element in m_mediaElements is handled differently.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182845 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: [Console] log new url after main frame gets navigated

The patch logs a new url into console after main frame is navigated.
User will see the message only in case of "preserve log upon navigation"
setting; otherwise, it gets wiped by the following "messagesCleared"
event.

BUG=406999
R=vsevik,pfeldman

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182846 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert of Add AX role ,'AXDescriptionList', for dl element. (patchset #2 id:20001 of https://codereview.chromium.org/609793002/)

Reason for revert:
This patch, probably, broke AccesibilityDl test on Mac
http://build.chromium.org/p/chromium.webkit/builders/Win7%20Tests/builds/5898

Original issue's description:
> Add AX role ,'AXDescriptionList', for dl element.
> 
> There are related patches from WebKit, the patch written by
> James Craig<james@cookiecrook.com> wkrev.com/147520 and the
> patch written by Mario Sanchez Prada  <mario.prada@samsung.com>
> wkrev.com/161492.
> And I modified them based on the current blink.
> 
> BUG=226505
> 
> Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=182813

TBR=dmazzoni@chromium.org,je_julie.kim@samsung.com
NOTREECHECKS=true
NOTRY=true
BUG=226505

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

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