fix: explicitly define REFGUID from ::GUID&, not base::GUID (#30442)

* fix: explicitly define REFGUID from ::GUID&

Ref: 3076480

* fix: duplicate GUID_NULL symbol, add comment
This commit is contained in:
Keeley Hammond 2021-08-11 12:43:33 -07:00 committed by GitHub
parent e11953b0e6
commit 60650abf09
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 6 deletions

View file

@ -41,15 +41,13 @@
#include "shell/browser/api/electron_api_service_worker_context.h"
#include "shell/browser/api/electron_api_session.h"
#include "shell/browser/api/electron_api_system_preferences.h"
#include "shell/browser/api/electron_api_tray.h"
#include "shell/browser/api/electron_api_url_loader.h"
#include "shell/browser/api/electron_api_web_contents.h"
#include "shell/browser/api/electron_api_web_frame_main.h"
#include "shell/browser/api/electron_api_web_request.h"
#include "shell/browser/api/event.h"
#include "shell/common/api/electron_api_native_image.h"
#if !defined(OS_WIN)
#include "shell/browser/api/electron_api_tray.h"
#endif
namespace electron {
@ -207,10 +205,8 @@ void SetCrashKeyForGinWrappable(gin::WrapperInfo* info) {
else if (info == &electron::api::DesktopCapturer::kWrapperInfo)
crash_location = "DesktopCapturer";
#endif
#if !defined(OS_WIN)
else if (info == &electron::api::Tray::kWrapperInfo)
crash_location = "Tray";
#endif // OS_WIN
else if (info == &electron::api::NetLog::kWrapperInfo)
crash_location = "NetLog";
else if (info == &electron::api::NativeImage::kWrapperInfo)