Commit 124570ab authored by Tobias Sargeant's avatar Tobias Sargeant Committed by Commit Bot

[weblayer] Fix NPE when fetching finch seed

Test: manual; compile weblayer provider with is_chrome_branded=true
Bug: 1025612
Change-Id: Ia56a1fc07cf896129d1bdd1845c8e647e66bfc17
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2134293Reviewed-by: default avatarScott Violet <sky@chromium.org>
Commit-Queue: Tobias Sargeant <tobiasjs@chromium.org>
Cr-Commit-Position: refs/heads/master@{#755909}
parent 592616f2
......@@ -8,6 +8,7 @@
#include "base/threading/scoped_blocking_call.h"
#include "build/build_config.h"
#include "services/network/public/cpp/shared_url_loader_factory.h"
#include "weblayer/browser/browser_process.h"
#include "weblayer/browser/system_network_context_manager.h"
#if defined(OS_ANDROID)
......@@ -49,7 +50,7 @@ WebLayerVariationsServiceClient::GetURLLoaderFactory() {
network_time::NetworkTimeTracker*
WebLayerVariationsServiceClient::GetNetworkTimeTracker() {
return nullptr;
return BrowserProcess::GetInstance()->GetNetworkTimeTracker();
}
Channel WebLayerVariationsServiceClient::GetChannel() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment