Fix extension browsertests to correctly use ShellCrApplication.
If NSApp is used prior to instantiation of the NSApplication subclass, then the subclass will never be instantiated. This CL adds a CHECK to confirm that the subclass is correctly instantiated. This CL found several tests which were unnecessarily instantiating a UI Message Loop early in the lifetime gtest subclass, which ends up calling NSApp prior to NSApplication subclass instantiation. Change-Id: I8868d253b6ec6eff4f8ecdda3176d839aa1826a5 Reviewed-on: https://chromium-review.googlesource.com/1246861Reviewed-by:Reilly Grant <reillyg@chromium.org> Commit-Queue: Erik Chen <erikchen@chromium.org> Cr-Commit-Position: refs/heads/master@{#594436}
Showing
Please register or sign in to comment