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

Issue 1278983003: Adding allocator annotations to blink classes and structs. (Closed)

Created:
5 years, 4 months ago by tasak
Modified:
5 years, 4 months ago
Reviewers:
haraken
CC:
blink-reviews, serviceworker-reviews, vivekg_samsung, webcomponents-bugzilla_chromium.org, eae+blinkwatch, vivekg, apavlov+blink_chromium.org, kinuko+worker_chromium.org, blink-reviews-wtf_chromium.org, rwlbuis, jsbell+serviceworker_chromium.org, blink-reviews-css, szager+layoutwatch_chromium.org, blink-reviews-dom_chromium.org, dglazkov+blink, blink-reviews-bindings_chromium.org, gavinp+loader_chromium.org, jchaffraix+rendering, tzik, blink-worker-reviews_chromium.org, zoltan1, sof, nhiroki, darktears, Nate Chapin, michaeln, mkwst+watchlist-csp_chromium.org, tyoshino+watch_chromium.org, blink-reviews-rendering, pdr+renderingwatchlist_chromium.org, leviw+renderwatch, falken, kinuko+serviceworker, horo+watch_chromium.org, peter+watch_chromium.org, Mikhail
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Patch Set 1 : #

Patch Set 2 : #

Total comments: 8

Patch Set 3 : #

Patch Set 4 : Fixed patch conflict #

Unified diffs Side-by-side diffs Delta from patch set Stats (+359 lines, -87 lines) Patch
M Source/bindings/core/v8/BindingSecurity.h View 2 chunks +2 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/CustomElementBinding.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/DOMDataStore.h View 2 chunks +2 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/DOMWrapperMap.h View 2 chunks +2 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/Dictionary.h View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/ExceptionMessages.h View 2 chunks +2 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/ExceptionState.h View 4 chunks +4 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/ExceptionStatePlaceholder.h View 2 chunks +2 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/Iterable.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/ModuleProxy.h View 2 chunks +2 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/NativeValueTraits.h View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/PrivateScriptRunner.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/core/v8/RejectedPromises.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/core/v8/RetainedObjectInfo.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/ScheduledAction.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/core/v8/ScopedPersistent.h View 2 chunks +2 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/ScriptController.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/core/v8/ScriptFunctionCall.h View 2 chunks +2 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/ScriptPromise.h View 3 chunks +3 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/ScriptState.h View 2 chunks +2 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/ScriptStreamerThread.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/core/v8/ScriptString.h View 2 chunks +2 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/ScriptValue.h View 2 chunks +2 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/ScriptValueSerializer.h View 1 2 3 chunks +3 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/SerializedScriptValueFactory.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/SharedPersistent.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/core/v8/ToV8.h View 1 chunk +3 lines, -1 line 0 comments Download
M Source/bindings/core/v8/V8Binding.h View 1 2 3 chunks +3 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/V8BindingForTesting.h View 2 chunks +2 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/V8DOMActivityLogger.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/core/v8/V8DOMConfiguration.h View 1 2 6 chunks +12 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/V8DOMWrapper.h View 2 chunks +2 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/V8EventListenerList.h View 2 chunks +2 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/V8GCController.h View 2 chunks +2 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/V8GCForContextDispose.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/V8GlobalValueMap.h View 3 chunks +3 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/V8HiddenValue.h View 3 chunks +8 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/V8IdleTaskRunner.h View 2 chunks +2 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/V8Initializer.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/V8MutationCallback.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/core/v8/V8NPUtils.h View 2 chunks +2 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/V8ObjectConstructor.h View 3 chunks +3 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/V8PagePopupControllerBinding.h View 2 chunks +2 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/V8PerContextData.h View 2 chunks +3 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/V8PerIsolateData.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/V8PerIsolateData.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/core/v8/V8PersistentValueVector.h View 3 chunks +3 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/V8RecursionScope.h View 2 chunks +3 lines, -1 line 0 comments Download
M Source/bindings/core/v8/V8ScriptRunner.h View 2 chunks +2 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/V8StringResource.h View 5 chunks +6 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/V8ThrowException.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/V8ValueCache.h View 3 chunks +3 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/WindowProxy.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/core/v8/WindowProxyManager.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/core/v8/WorkerScriptController.h View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/WrapperTypeInfo.h View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M Source/bindings/modules/v8/ModuleBindingsInitializer.h View 1 chunk +3 lines, -0 lines 0 comments Download
M Source/bindings/modules/v8/SerializedScriptValueForModulesFactory.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/templates/interface.h View 2 chunks +3 lines, -0 lines 0 comments Download
M Source/bindings/templates/partial_interface.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/tests/results/core/V8ArrayBuffer.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/tests/results/core/V8ArrayBufferView.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/tests/results/core/V8DataView.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/tests/results/core/V8SVGTestInterface.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestException.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestInterface.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestInterface2.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestInterface3.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceCheckSecurity.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceConstructor.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceConstructor2.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceConstructor3.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceConstructor4.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceCustomConstructor.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceDocument.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceEmpty.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceEventInitConstructor.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceEventTarget.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor2.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceNode.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceWillBeGarbageCollected.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestNode.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestObject.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestSpecialOperations.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestSpecialOperationsNotEnumerable.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestTypedefs.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/tests/results/core/V8Uint8ClampedArray.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/tests/results/modules/V8TestInterface5.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/tests/results/modules/V8TestInterfacePartial.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/css/CSSImageGeneratorValue.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/css/SelectorChecker.h View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M Source/core/css/parser/SizesCalcParser.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/dom/SelectorQuery.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/dom/shadow/ShadowRootRareData.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/editing/SelectionController.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/fetch/CachedMetadataHandler.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/frame/SettingsDelegate.h View 2 chunks +2 lines, -0 lines 0 comments Download
M Source/core/frame/SmartClip.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/frame/csp/CSPDirective.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/layout/shapes/Shape.h View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M Source/core/layout/shapes/ShapeOutsideInfo.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/page/Page.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/streams/ReadableStreamReaderTest.cpp View 16 chunks +55 lines, -18 lines 0 comments Download
M Source/core/streams/ReadableStreamTest.cpp View 24 chunks +54 lines, -18 lines 0 comments Download
M Source/core/workers/SharedWorkerRepositoryClient.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/cachestorage/CacheTest.cpp View 14 chunks +28 lines, -35 lines 0 comments Download
M Source/modules/notifications/ServiceWorkerRegistrationNotifications.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerContainerClient.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerError.h View 1 chunk +1 line, -4 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerRegistration.h View 1 2 3 2 chunks +1 line, -4 lines 0 comments Download
M Source/web/ServiceWorkerGlobalScopeClientImpl.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/web/ServiceWorkerGlobalScopeProxy.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/web/SharedWorkerRepositoryClientImpl.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/wtf/Allocator.h View 1 2 4 chunks +15 lines, -4 lines 0 comments Download

Messages

Total messages: 20 (10 generated)
tasak
Would you review this CL?
5 years, 4 months ago (2015-08-12 07:39:39 UTC) #4
haraken
LGTM Let's ping that blink-dev thread and mention we're about to land this. Also add ...
5 years, 4 months ago (2015-08-12 07:56:12 UTC) #5
tasak
Thank you for review. https://codereview.chromium.org/1278983003/diff/60001/Source/bindings/core/v8/ActiveDOMCallback.h File Source/bindings/core/v8/ActiveDOMCallback.h (right): https://codereview.chromium.org/1278983003/diff/60001/Source/bindings/core/v8/ActiveDOMCallback.h#newcode58 Source/bindings/core/v8/ActiveDOMCallback.h:58: ActiveDOMCallback() = delete; On 2015/08/12 ...
5 years, 4 months ago (2015-08-12 09:13:26 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1278983003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1278983003/80001
5 years, 4 months ago (2015-08-12 09:13:41 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1278983003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1278983003/80001
5 years, 4 months ago (2015-08-13 10:23:32 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/92629)
5 years, 4 months ago (2015-08-13 11:31:30 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1278983003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1278983003/100001
5 years, 4 months ago (2015-08-18 02:45:43 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:100001) as https://src.chromium.org/viewvc/blink?view=rev&revision=200693
5 years, 4 months ago (2015-08-18 04:33:03 UTC) #18
Mostyn Bramley-Moore
This seems to have broken gcc builds. Example error from gcc 4.8.4: In file included ...
5 years, 4 months ago (2015-08-18 19:55:07 UTC) #19
tasak
5 years, 4 months ago (2015-08-20 03:38:05 UTC) #20
Message was sent while issue was closed.
On 2015/08/18 19:55:07, Mostyn Bramley-Moore wrote:
> This seems to have broken gcc builds.  
> 
> Example error from gcc 4.8.4:
> In file included from
> gen/blink/bindings/core/v8/V8GeneratedCoreBindings01.cpp:32:0:
> gen/blink/bindings/core/v8/V8DOMMatrixReadOnly.cpp:647:1: error: could not
> convert '{"a", blink::DOMMatrixReadOnlyV8Internal::aAttributeGetterCallback,
0,
> 0, 0, 0, DEFAULT, (v8::PropertyAttribute)0u, ExposedToAllScripts, OnPrototype,
> CheckHolder}' from '<brace-enclosed initializer list>' to
> 'blink::V8DOMConfiguration::AccessorConfiguration'

Thank you for notification.
I created a fixing patch: https://codereview.chromium.org/1307503002/

Powered by Google App Engine
This is Rietveld 408576698