DescriptionRevert of Do not initialize v8::Context on |ScriptController::updateDocument|. (https://codereview.chromium.org/263583002/)
Reason for revert:
broke interactive_ui_tests:
Referrer
SearchReusesInstantTab
TypedSearchURLDoesntReuseInstantTab
Original issue's description:
> Do not initialize |v8::Context| on |ScriptController::updateDocument|.
>
> Initializing |v8::Context| is a heavy operation, and should be avoided if necessary. This is meant to be delayed until first time |toV8Context| is called, but |ScriptController::updateDocument| was forcing creation.
>
> This patch fixes the if branch so that it would not create a |v8::Context| if it does not exist.
>
> BUG=368548, 368555
>
> Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=173044
TBR=haraken@chromium.org,jochen@chromium.org,dcarney@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=368548, 368555
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=173060
Patch Set 1 #
Created: 6 years, 7 months ago
(Patch set is too large to download)
Messages
Total messages: 4 (0 generated)
|