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

Issue 1660383002: Refactoring: Move some classes from content/child to platform (Closed)

Created:
4 years, 10 months ago by hajimehoshi
Modified:
4 years, 10 months ago
CC:
Mads Ager (chromium), blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, darin-cc_chromium.org, dglazkov+blink, jam, kinuko+watch, kouhei+heap_chromium.org, oilpan-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactoring: Move some classes from content/child to platform This CL moves these classes: - WebMemoryAllocatorDumpImpl - WebMemoryDumpProviderAdapter - WebProcessMemoryDumpImpl(Test) from content/child to platform. Now that platform can depend on base, we don't need adapter classes in Chromium side. After this CL, we will be able to reduce glue classes by unifying: - WebMemoryAllocatorDump and WebMemoryAllocatorDumpImpl - WebProcessMemoryDump and WebProcessMemoryDumpImpl - WebMemoryDumpProvider and WebMemoryDumpProviderAdapter so that we can reduce lots of code. BUG=548254 Committed: https://crrev.com/a8227af5f6016e10e78b539ffa55aeb634ca7601 Cr-Commit-Position: refs/heads/master@{#377552}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Syntax Error :-( #

Total comments: 9

Patch Set 4 : Replace base libs like scoped_ptr with WTF libs like OwnPtr #

Patch Set 5 : Move a new comment in PRESUBMIT.py #

Total comments: 8

Patch Set 6 : kinuko's review #

Total comments: 3

Patch Set 7 : (rebasing) #

Patch Set 8 : Move implementation from static functions to member functions as default impl #

Total comments: 3

Patch Set 9 : (rebasing) #

Patch Set 10 : (rebasing) #

Patch Set 11 : Change OwnPtr -> scoped_ptr back #

Patch Set 12 : Use std::vector and std::unordered_map #

Total comments: 4

Patch Set 13 : Remove abbreviates #

Total comments: 2

Patch Set 14 : Keep chromium file name styles #

Patch Set 15 : Remove unused exporting annotation #

Total comments: 4

Patch Set 16 : Fix #include #

Patch Set 17 : Add PLATFORM_EXPORT; Address haraken's review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+136 lines, -729 lines) Patch
M components/test_runner/test_common.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M content/child/blink_platform_impl.h View 1 2 3 4 5 6 7 8 3 chunks +0 lines, -9 lines 0 comments Download
M content/child/blink_platform_impl.cc View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -30 lines 0 comments Download
M content/child/web_discardable_memory_impl.cc View 2 chunks +3 lines, -3 lines 0 comments Download
D content/child/web_memory_allocator_dump_impl.h View 1 chunk +0 lines, -48 lines 0 comments Download
D content/child/web_memory_allocator_dump_impl.cc View 1 chunk +0 lines, -41 lines 0 comments Download
D content/child/web_memory_dump_provider_adapter.h View 1 chunk +0 lines, -49 lines 0 comments Download
D content/child/web_memory_dump_provider_adapter.cc View 1 chunk +0 lines, -49 lines 0 comments Download
D content/child/web_process_memory_dump_impl.h View 1 chunk +0 lines, -117 lines 0 comments Download
D content/child/web_process_memory_dump_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -186 lines 0 comments Download
D content/child/web_process_memory_dump_impl_unittest.cc View 1 chunk +0 lines, -124 lines 0 comments Download
M content/content_child.gypi View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -6 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -1 line 0 comments Download
M media/blink/run_all_unittests.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/PRESUBMIT.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +6 lines, -1 line 0 comments Download
M third_party/WebKit/Source/DEPS View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/DEPS View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/blink_platform.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/exported/Platform.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +37 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/heap/BlinkGCMemoryDumpProvider.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/heap/BlinkGCMemoryDumpProviderTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/testing/TestingPlatformSupport.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
A + third_party/WebKit/Source/platform/web_memory_allocator_dump_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +6 lines, -6 lines 0 comments Download
A + third_party/WebKit/Source/platform/web_memory_allocator_dump_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +5 lines, -4 lines 0 comments Download
A + third_party/WebKit/Source/platform/web_memory_dump_provider_adapter.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +5 lines, -7 lines 0 comments Download
A + third_party/WebKit/Source/platform/web_memory_dump_provider_adapter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +5 lines, -5 lines 0 comments Download
A + third_party/WebKit/Source/platform/web_process_memory_dump_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +15 lines, -15 lines 0 comments Download
A + third_party/WebKit/Source/platform/web_process_memory_dump_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 5 chunks +14 lines, -14 lines 0 comments Download
A + third_party/WebKit/Source/platform/web_process_memory_dump_impl_test.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +5 lines, -4 lines 0 comments Download
M third_party/WebKit/public/platform/Platform.h View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -5 lines 0 comments Download
M third_party/WebKit/public/platform/WebProcessMemoryDump.h View 2 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 77 (25 generated)
hajimehoshi
PTAL +kinuko content/child +thakis PRESUBMIT.py and DEPS +tkent third_party/WebKit/public +haraken third_party/WebKit/Source/platform Now new files' style ...
4 years, 10 months ago (2016-02-04 09:26:04 UTC) #13
hajimehoshi
CC +primiano
4 years, 10 months ago (2016-02-04 09:26:56 UTC) #14
tkent
This CL adds some Blink->base dependencies. esprehn@ should review this.
4 years, 10 months ago (2016-02-04 09:42:05 UTC) #16
kinuko
Ok so this one's more like simple file moving from content -> blink. I have ...
4 years, 10 months ago (2016-02-04 11:25:34 UTC) #17
haraken
https://codereview.chromium.org/1660383002/diff/40001/third_party/WebKit/Source/platform/DEPS File third_party/WebKit/Source/platform/DEPS (right): https://codereview.chromium.org/1660383002/diff/40001/third_party/WebKit/Source/platform/DEPS#newcode4 third_party/WebKit/Source/platform/DEPS:4: "+base/containers/scoped_ptr_hash_map.h", I don't think we want to allow this. ...
4 years, 10 months ago (2016-02-04 11:30:56 UTC) #18
hajimehoshi
Thank you! https://codereview.chromium.org/1660383002/diff/40001/third_party/WebKit/PRESUBMIT.py File third_party/WebKit/PRESUBMIT.py (right): https://codereview.chromium.org/1660383002/diff/40001/third_party/WebKit/PRESUBMIT.py#newcode119 third_party/WebKit/PRESUBMIT.py:119: # and no longer needed. On 2016/02/04 ...
4 years, 10 months ago (2016-02-04 12:17:52 UTC) #19
kinuko
https://codereview.chromium.org/1660383002/diff/80001/third_party/WebKit/PRESUBMIT.py File third_party/WebKit/PRESUBMIT.py (right): https://codereview.chromium.org/1660383002/diff/80001/third_party/WebKit/PRESUBMIT.py#newcode117 third_party/WebKit/PRESUBMIT.py:117: ignore = [ This 'ignore' variable itself should also ...
4 years, 10 months ago (2016-02-04 13:15:54 UTC) #20
Nico
DEPS and PRESUBMIT lgtm with kinuko's comments addressed (assuming esprehn and kinuko are fine with ...
4 years, 10 months ago (2016-02-04 15:08:15 UTC) #21
hajimehoshi
Thank you! https://codereview.chromium.org/1660383002/diff/80001/third_party/WebKit/PRESUBMIT.py File third_party/WebKit/PRESUBMIT.py (right): https://codereview.chromium.org/1660383002/diff/80001/third_party/WebKit/PRESUBMIT.py#newcode117 third_party/WebKit/PRESUBMIT.py:117: ignore = [ On 2016/02/04 13:15:54, kinuko ...
4 years, 10 months ago (2016-02-05 07:41:55 UTC) #22
haraken
I want to have primiano@ take a look and confirm if this is doing a ...
4 years, 10 months ago (2016-02-05 09:01:35 UTC) #23
Primiano Tucci (use gerrit)
On 2016/02/05 09:01:35, haraken wrote: > I want to have primiano@ take a look and ...
4 years, 10 months ago (2016-02-05 10:05:18 UTC) #24
hajimehoshi
On 2016/02/05 10:05:18, Primiano Tucci wrote: > On 2016/02/05 09:01:35, haraken wrote: > > I ...
4 years, 10 months ago (2016-02-05 10:30:34 UTC) #25
hajimehoshi
On 2016/02/05 10:30:34, hajimehoshi wrote: > On 2016/02/05 10:05:18, Primiano Tucci wrote: > > On ...
4 years, 10 months ago (2016-02-05 10:31:10 UTC) #26
hajimehoshi
https://codereview.chromium.org/1660383002/diff/100001/third_party/WebKit/Source/platform/WebProcessMemoryDumpImplTest.cpp File third_party/WebKit/Source/platform/WebProcessMemoryDumpImplTest.cpp (right): https://codereview.chromium.org/1660383002/diff/100001/third_party/WebKit/Source/platform/WebProcessMemoryDumpImplTest.cpp#newcode20 third_party/WebKit/Source/platform/WebProcessMemoryDumpImplTest.cpp:20: scoped_refptr<base::trace_event::TracedValue> traced_value( Ooooh, we can't use scoped_refptr in Blink, ...
4 years, 10 months ago (2016-02-05 11:38:38 UTC) #27
esprehn
On 2016/02/05 at 11:38:38, hajimehoshi wrote: > https://codereview.chromium.org/1660383002/diff/100001/third_party/WebKit/Source/platform/WebProcessMemoryDumpImplTest.cpp > File third_party/WebKit/Source/platform/WebProcessMemoryDumpImplTest.cpp (right): > > https://codereview.chromium.org/1660383002/diff/100001/third_party/WebKit/Source/platform/WebProcessMemoryDumpImplTest.cpp#newcode20 ...
4 years, 10 months ago (2016-02-10 01:18:48 UTC) #28
kinuko
https://codereview.chromium.org/1660383002/diff/100001/third_party/WebKit/public/platform/Platform.h File third_party/WebKit/public/platform/Platform.h (right): https://codereview.chromium.org/1660383002/diff/100001/third_party/WebKit/public/platform/Platform.h#newcode141 third_party/WebKit/public/platform/Platform.h:141: BLINK_PLATFORM_EXPORT static void unregisterMemoryDumpProviderImpl(blink::WebMemoryDumpProvider*); We have number of methods ...
4 years, 10 months ago (2016-02-10 01:33:22 UTC) #29
hajimehoshi
On 2016/02/10 01:18:48, esprehn wrote: > On 2016/02/05 at 11:38:38, hajimehoshi wrote: > > > ...
4 years, 10 months ago (2016-02-15 09:26:48 UTC) #31
hajimehoshi
Thank you! https://codereview.chromium.org/1660383002/diff/100001/third_party/WebKit/public/platform/Platform.h File third_party/WebKit/public/platform/Platform.h (right): https://codereview.chromium.org/1660383002/diff/100001/third_party/WebKit/public/platform/Platform.h#newcode141 third_party/WebKit/public/platform/Platform.h:141: BLINK_PLATFORM_EXPORT static void unregisterMemoryDumpProviderImpl(blink::WebMemoryDumpProvider*); On 2016/02/10 01:33:22, ...
4 years, 10 months ago (2016-02-15 09:27:08 UTC) #32
haraken
https://codereview.chromium.org/1660383002/diff/140001/third_party/WebKit/Source/platform/WebProcessMemoryDumpImpl.h File third_party/WebKit/Source/platform/WebProcessMemoryDumpImpl.h (right): https://codereview.chromium.org/1660383002/diff/140001/third_party/WebKit/Source/platform/WebProcessMemoryDumpImpl.h#newcode90 third_party/WebKit/Source/platform/WebProcessMemoryDumpImpl.h:90: WTF::OwnPtr<base::trace_event::ProcessMemoryDump> owned_process_memory_dump_; It looks strange to use WTF::OwnPtr for ...
4 years, 10 months ago (2016-02-15 09:40:50 UTC) #33
hajimehoshi
On 2016/02/15 09:40:50, haraken wrote: > https://codereview.chromium.org/1660383002/diff/140001/third_party/WebKit/Source/platform/WebProcessMemoryDumpImpl.h > File third_party/WebKit/Source/platform/WebProcessMemoryDumpImpl.h (right): > > https://codereview.chromium.org/1660383002/diff/140001/third_party/WebKit/Source/platform/WebProcessMemoryDumpImpl.h#newcode90 > ...
4 years, 10 months ago (2016-02-15 09:48:48 UTC) #34
haraken
On 2016/02/15 09:48:48, hajimehoshi wrote: > On 2016/02/15 09:40:50, haraken wrote: > > > https://codereview.chromium.org/1660383002/diff/140001/third_party/WebKit/Source/platform/WebProcessMemoryDumpImpl.h ...
4 years, 10 months ago (2016-02-15 09:52:45 UTC) #35
hajimehoshi
On 2016/02/15 09:52:45, haraken wrote: > On 2016/02/15 09:48:48, hajimehoshi wrote: > > On 2016/02/15 ...
4 years, 10 months ago (2016-02-15 09:59:01 UTC) #36
haraken
On 2016/02/15 09:59:01, hajimehoshi wrote: > On 2016/02/15 09:52:45, haraken wrote: > > On 2016/02/15 ...
4 years, 10 months ago (2016-02-15 10:26:21 UTC) #40
hajimehoshi
On 2016/02/15 10:26:21, haraken wrote: > On 2016/02/15 09:59:01, hajimehoshi wrote: > > On 2016/02/15 ...
4 years, 10 months ago (2016-02-15 11:00:32 UTC) #41
hajimehoshi
On 2016/02/15 11:00:32, hajimehoshi wrote: > On 2016/02/15 10:26:21, haraken wrote: > > On 2016/02/15 ...
4 years, 10 months ago (2016-02-17 10:21:48 UTC) #42
haraken
On 2016/02/17 10:21:48, hajimehoshi wrote: > On 2016/02/15 11:00:32, hajimehoshi wrote: > > On 2016/02/15 ...
4 years, 10 months ago (2016-02-17 10:40:22 UTC) #43
hajimehoshi
https://codereview.chromium.org/1660383002/diff/140001/third_party/WebKit/Source/platform/WebProcessMemoryDumpImpl.h File third_party/WebKit/Source/platform/WebProcessMemoryDumpImpl.h (right): https://codereview.chromium.org/1660383002/diff/140001/third_party/WebKit/Source/platform/WebProcessMemoryDumpImpl.h#newcode90 third_party/WebKit/Source/platform/WebProcessMemoryDumpImpl.h:90: WTF::OwnPtr<base::trace_event::ProcessMemoryDump> owned_process_memory_dump_; On 2016/02/15 09:40:49, haraken wrote: > > ...
4 years, 10 months ago (2016-02-18 11:21:53 UTC) #44
esprehn
On 2016/02/18 at 11:21:53, hajimehoshi wrote: > ... > > https://codereview.chromium.org/1660383002/diff/140001/third_party/WebKit/Source/platform/WebProcessMemoryDumpImpl.h#newcode109 > third_party/WebKit/Source/platform/WebProcessMemoryDumpImpl.h:109: WTF::Vector<WTF::OwnPtr<skia::SkiaTraceMemoryDumpImpl>> sk_trace_dump_list_; ...
4 years, 10 months ago (2016-02-19 02:54:23 UTC) #45
hajimehoshi
On 2016/02/19 02:54:23, esprehn wrote: > On 2016/02/18 at 11:21:53, hajimehoshi wrote: > > ...
4 years, 10 months ago (2016-02-22 12:54:37 UTC) #46
esprehn
lgtm, please don't abbreviate in blink though. :) https://codereview.chromium.org/1660383002/diff/220001/third_party/WebKit/Source/platform/exported/Platform.cpp File third_party/WebKit/Source/platform/exported/Platform.cpp (right): https://codereview.chromium.org/1660383002/diff/220001/third_party/WebKit/Source/platform/exported/Platform.cpp#newcode95 third_party/WebKit/Source/platform/exported/Platform.cpp:95: void ...
4 years, 10 months ago (2016-02-23 00:11:59 UTC) #47
Nico
(don't abbreviate in non-blink chromium code either :-) )
4 years, 10 months ago (2016-02-23 01:08:08 UTC) #48
hajimehoshi
Thank you! https://codereview.chromium.org/1660383002/diff/220001/third_party/WebKit/Source/platform/exported/Platform.cpp File third_party/WebKit/Source/platform/exported/Platform.cpp (right): https://codereview.chromium.org/1660383002/diff/220001/third_party/WebKit/Source/platform/exported/Platform.cpp#newcode95 third_party/WebKit/Source/platform/exported/Platform.cpp:95: void Platform::registerMemoryDumpProvider(WebMemoryDumpProvider* wmdp, const char* name) On ...
4 years, 10 months ago (2016-02-23 07:47:35 UTC) #49
hajimehoshi
+xhwang for media/blink PTAL
4 years, 10 months ago (2016-02-23 07:49:08 UTC) #51
xhwang
media/blink lgtm
4 years, 10 months ago (2016-02-23 07:53:02 UTC) #52
tkent
https://codereview.chromium.org/1660383002/diff/240001/third_party/WebKit/PRESUBMIT.py File third_party/WebKit/PRESUBMIT.py (right): https://codereview.chromium.org/1660383002/diff/240001/third_party/WebKit/PRESUBMIT.py#newcode117 third_party/WebKit/PRESUBMIT.py:117: # Ignore the style check for files that are ...
4 years, 10 months ago (2016-02-23 08:07:30 UTC) #53
hajimehoshi
Thank you! https://codereview.chromium.org/1660383002/diff/240001/third_party/WebKit/PRESUBMIT.py File third_party/WebKit/PRESUBMIT.py (right): https://codereview.chromium.org/1660383002/diff/240001/third_party/WebKit/PRESUBMIT.py#newcode117 third_party/WebKit/PRESUBMIT.py:117: # Ignore the style check for files ...
4 years, 10 months ago (2016-02-23 10:08:51 UTC) #54
haraken
LGTM https://codereview.chromium.org/1660383002/diff/280001/third_party/WebKit/Source/platform/DEPS File third_party/WebKit/Source/platform/DEPS (right): https://codereview.chromium.org/1660383002/diff/280001/third_party/WebKit/Source/platform/DEPS#newcode10 third_party/WebKit/Source/platform/DEPS:10: "+base/strings/stringprintf.h", Is this needed? https://codereview.chromium.org/1660383002/diff/280001/third_party/WebKit/Source/platform/web_process_memory_dump_impl.h File third_party/WebKit/Source/platform/web_process_memory_dump_impl.h (right): ...
4 years, 10 months ago (2016-02-23 10:37:01 UTC) #56
hajimehoshi
primiano@, I'd like to know whether you are OK about this change just in case ...
4 years, 10 months ago (2016-02-23 10:39:36 UTC) #57
hajimehoshi
Thank you! https://codereview.chromium.org/1660383002/diff/280001/third_party/WebKit/Source/platform/DEPS File third_party/WebKit/Source/platform/DEPS (right): https://codereview.chromium.org/1660383002/diff/280001/third_party/WebKit/Source/platform/DEPS#newcode10 third_party/WebKit/Source/platform/DEPS:10: "+base/strings/stringprintf.h", On 2016/02/23 10:37:01, haraken wrote: > ...
4 years, 10 months ago (2016-02-23 11:10:39 UTC) #58
tkent
third_party/WebKit lgtm
4 years, 10 months ago (2016-02-23 23:46:57 UTC) #59
kinuko
lgtm
4 years, 10 months ago (2016-02-25 08:42:45 UTC) #60
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1660383002/320001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1660383002/320001
4 years, 10 months ago (2016-02-25 08:44:20 UTC) #63
commit-bot: I haz the power
Exceeded global retry quota
4 years, 10 months ago (2016-02-25 09:48:29 UTC) #65
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1660383002/320001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1660383002/320001
4 years, 10 months ago (2016-02-25 09:49:52 UTC) #67
commit-bot: I haz the power
Committed patchset #17 (id:320001)
4 years, 10 months ago (2016-02-25 11:06:23 UTC) #69
commit-bot: I haz the power
Patchset 17 (id:??) landed as https://crrev.com/a8227af5f6016e10e78b539ffa55aeb634ca7601 Cr-Commit-Position: refs/heads/master@{#377552}
4 years, 10 months ago (2016-02-25 11:08:03 UTC) #71
Mostyn Bramley-Moore
It looks like the last change breaks GCC builds, when linking libblink_web.so (I have not ...
4 years, 10 months ago (2016-02-25 13:35:34 UTC) #72
Zhen Wang
A revert of this CL (patchset #17 id:320001) has been created in https://codereview.chromium.org/1739113002/ by zhenw@chromium.org. ...
4 years, 10 months ago (2016-02-25 22:31:12 UTC) #73
Primiano Tucci (use gerrit)
Yes this needz fix or revert, is crashing somewhere in memory traces. Backtrace here: warning: ...
4 years, 10 months ago (2016-02-26 03:13:44 UTC) #74
Primiano Tucci (use gerrit)
Re-attempting revert in https://codereview.chromium.org/1741673002/
4 years, 10 months ago (2016-02-26 03:27:28 UTC) #75
Primiano Tucci (use gerrit)
On 2016/02/26 03:27:28, Primiano (throttled til Mar 4) wrote: > Re-attempting revert in https://codereview.chromium.org/1741673002/ Ok ...
4 years, 10 months ago (2016-02-26 04:10:05 UTC) #76
bashi
4 years, 10 months ago (2016-02-26 04:13:24 UTC) #77
Message was sent while issue was closed.
On 2016/02/26 04:10:05, Primiano (throttled til Mar 4) wrote:
> On 2016/02/26 03:27:28, Primiano (throttled til Mar 4) wrote:
> > Re-attempting revert in https://codereview.chromium.org/1741673002/
> 
> Ok I think I know what broke... typo which exposed the NOTREACHED base method.
> I unticked my revert, it's probably easier to just fix it:
> https://codereview.chromium.org/1731893004

I think the following will fix the crash.

diff --git a/third_party/WebKit/Source/platform/web_process_memory_dump_impl.h
b/third_party/WebKit/Source/platform/web_process_memory_dump_impl.h
index 7775449..2c5db22 100644
--- a/third_party/WebKit/Source/platform/web_process_memory_dump_impl.h
+++ b/third_party/WebKit/Source/platform/web_process_memory_dump_impl.h
@@ -72,9 +72,9 @@ class PLATFORM_EXPORT WebProcessMemoryDumpImpl final
     return process_memory_dump_;
   }
 
-  blink::WebMemoryAllocatorDump* CreateDiscardableMemoryAllocatorDump(
+  blink::WebMemoryAllocatorDump* createDiscardableMemoryAllocatorDump(
       const std::string& name,
-      base::DiscardableMemory* discardable);
+      base::DiscardableMemory* discardable) override;

Powered by Google App Engine
This is Rietveld 408576698