commit | 33aaccf7a5bb95beb22b8aeef6131b1d1cc73909 | [log] [tgz] |
---|---|---|
author | Devlin Cronin <rdevlin.cronin@chromium.org> | Wed Mar 06 02:54:16 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Mar 06 02:54:16 2019 |
tree | 1ea2faf3d2db489e9c590f0c71b26a102a50523f | |
parent | 7232a40676e0b0307af901aea767139750529e34 [diff] |
[Blink] Shuffle code to remove duplicate console message logic WebConsoleMessage::LogWebConsoleMessage() and WebLocalFrameImpl::AddMessageToConsole() used a fair amount of the same code, as both were mutating a WebConsoleMessage into a ConsoleMessage, and then logging it. Restructure this by adding a ConsoleMessage::FromWebConsoleMessage() method that can be used by both WebConsoleMessage and WebLocalFrameImpl. Bug: None Change-Id: I7a0ff42411f5e950452c86ecde7e58bb4976d7ef Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1501497 Commit-Queue: Devlin <rdevlin.cronin@chromium.org> Reviewed-by: Jeremy Roman <jbroman@chromium.org> Cr-Commit-Position: refs/heads/master@{#637981}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .