Skip to content

Commit

Permalink
Fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
simonhong committed Nov 25, 2020
1 parent 7a7c9be commit d589649
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion chromium_src/chrome/browser/themes/theme_service_factory.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
* You can obtain one at http://mozilla.org/MPL/2.0/. */

#include "brave/browser/themes/brave_theme_service.h"
// Below files are included in advance to prevent overriding GetBrowserContextToUse.
// Below files are included in advance to prevent overriding
// GetBrowserContextToUse.
#include "chrome/browser/extensions/extension_system_factory.h"
#include "chrome/browser/themes/theme_service_factory.h"
#include "extensions/browser/extension_prefs_factory.h"
Expand Down
5 changes: 3 additions & 2 deletions chromium_src/chrome/browser/themes/theme_service_factory.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@
#ifndef BRAVE_CHROMIUM_SRC_CHROME_BROWSER_THEMES_THEME_SERVICE_FACTORY_H_
#define BRAVE_CHROMIUM_SRC_CHROME_BROWSER_THEMES_THEME_SERVICE_FACTORY_H_

// Below files are included in advance to prevent overriding GetBrowserContextToUse.
// Below files are included in advance to prevent overriding
// GetBrowserContextToUse.
#include "components/keyed_service/content/browser_context_keyed_service_factory.h"

#define GetBrowserContextToUse GetBrowserContextToUse_ChromiumImpl(content::BrowserContext* context) const; content::BrowserContext* GetBrowserContextToUse
#define GetBrowserContextToUse GetBrowserContextToUse_ChromiumImpl(content::BrowserContext* context) const; content::BrowserContext* GetBrowserContextToUse // NOLINT

#include "../../../../../chrome/browser/themes/theme_service_factory.h"

Expand Down

0 comments on commit d589649

Please sign in to comment.