Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Issue 25654005: Remove GetActiveEntry usage from content. (Closed)

Created:
7 years, 2 months ago by nasko
Modified:
7 years, 2 months ago
Reviewers:
Charlie Reis
CC:
chromium-reviews, hashimoto+watch_chromium.org, aboxhall+watch_chromium.org, jam, yoshiki+watch_chromium.org, yuzo+watch_chromium.org, davidbarr+watch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, ctguil+watch_chromium.org, miu+watch_chromium.org
Visibility:
Public.

Description

Remove GetActiveEntry usage from content. This is a copy of https://chromiumcodereview.appspot.com/23022006, which was reverted due to perf regression. The root cause was WebContentsImpl::GetWebkitPrefs using GetLastCommittedEntry, which caused compositing to be disabled and higher memory usage on Mac. I've removed that part of the change and will investigate separately how to best fix it. BUG=273710 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=227665

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove GetWebkitPrefs() change. #

Total comments: 2

Patch Set 3 : Fixed comment, added TODO, rebased on ToT. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+144 lines, -135 lines) Patch
M content/browser/accessibility/accessibility_ui.cc View 1 chunk +3 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_view_host_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/ssl/ssl_manager.cc View 3 chunks +7 lines, -4 lines 0 comments Download
M content/browser/web_contents/interstitial_page_impl.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/web_contents/navigation_controller_impl.cc View 1 2 4 chunks +10 lines, -10 lines 0 comments Download
M content/browser/web_contents/navigation_controller_impl_unittest.cc View 1 2 51 chunks +76 lines, -78 lines 0 comments Download
M content/browser/web_contents/render_view_host_manager_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 9 chunks +20 lines, -17 lines 0 comments Download
M content/browser/web_contents/web_contents_impl_unittest.cc View 19 chunks +19 lines, -19 lines 0 comments Download
M content/browser/web_contents/web_contents_view_aura_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/public/browser/navigation_controller.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
nasko
Hey Charlie, I've found the root cause of the perf regression and fixed it. Can ...
7 years, 2 months ago (2013-10-04 16:58:37 UTC) #1
Charlie Reis
I've only looked at the GetWebKitPrefs case. I assume the rest is the same? https://codereview.chromium.org/25654005/diff/1/content/browser/web_contents/web_contents_impl.cc ...
7 years, 2 months ago (2013-10-04 18:42:46 UTC) #2
nasko
As we chatted offline, I've removed the GetWebkitPrefs() change, since it will require some more ...
7 years, 2 months ago (2013-10-08 16:27:27 UTC) #3
Charlie Reis
LGTM with the comment below. Also please update the CL description (since we're not using ...
7 years, 2 months ago (2013-10-08 20:23:28 UTC) #4
nasko
Fixed comment, added TODO, rebased on ToT. https://codereview.chromium.org/25654005/diff/11001/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): https://codereview.chromium.org/25654005/diff/11001/content/browser/web_contents/web_contents_impl.cc#newcode3505 content/browser/web_contents/web_contents_impl.cc:3505: // display ...
7 years, 2 months ago (2013-10-08 21:45:54 UTC) #5
Charlie Reis
LGTM
7 years, 2 months ago (2013-10-08 21:53:57 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nasko@chromium.org/25654005/17001
7 years, 2 months ago (2013-10-08 22:03:44 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nasko@chromium.org/25654005/17001
7 years, 2 months ago (2013-10-09 02:14:01 UTC) #8
commit-bot: I haz the power
7 years, 2 months ago (2013-10-09 04:03:34 UTC) #9
Message was sent while issue was closed.
Change committed as 227665

Powered by Google App Engine
This is Rietveld 408576698