From ec174bb3ba2f7e744c64f5870ecb83157233e947 Mon Sep 17 00:00:00 2001 From: Jim Evans Date: Fri, 31 Aug 2018 07:53:55 -0700 Subject: [PATCH] Consolidating duplicate constant definitions in IE --- cpp/iedriver/CommandHandlers/NewSessionCommandHandler.cpp | 2 -- cpp/iedriver/CommandHandlers/SetTimeoutsCommandHandler.cpp | 2 -- cpp/iedriver/IECommandExecutor.h | 1 + 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/cpp/iedriver/CommandHandlers/NewSessionCommandHandler.cpp b/cpp/iedriver/CommandHandlers/NewSessionCommandHandler.cpp index 4518048847429..4138859f6e082 100644 --- a/cpp/iedriver/CommandHandlers/NewSessionCommandHandler.cpp +++ b/cpp/iedriver/CommandHandlers/NewSessionCommandHandler.cpp @@ -24,8 +24,6 @@ #include "../InputManager.h" #include "../ProxyManager.h" -#define MAX_SAFE_INTEGER 9007199254740991L - namespace webdriver { NewSessionCommandHandler::NewSessionCommandHandler(void) { diff --git a/cpp/iedriver/CommandHandlers/SetTimeoutsCommandHandler.cpp b/cpp/iedriver/CommandHandlers/SetTimeoutsCommandHandler.cpp index 5dd5cba31d874..a2f99b9fa3a36 100644 --- a/cpp/iedriver/CommandHandlers/SetTimeoutsCommandHandler.cpp +++ b/cpp/iedriver/CommandHandlers/SetTimeoutsCommandHandler.cpp @@ -19,8 +19,6 @@ #include "../Browser.h" #include "../IECommandExecutor.h" -#define MAX_SAFE_INTEGER 9007199254740991L - namespace webdriver { SetTimeoutsCommandHandler::SetTimeoutsCommandHandler(void) { diff --git a/cpp/iedriver/IECommandExecutor.h b/cpp/iedriver/IECommandExecutor.h index 39d09079236c7..0dc8959d7e329 100755 --- a/cpp/iedriver/IECommandExecutor.h +++ b/cpp/iedriver/IECommandExecutor.h @@ -33,6 +33,7 @@ #define ASYNC_SCRIPT_EXECUTION_TIMEOUT_IN_MILLISECONDS 2000 #define DEFAULT_FILE_UPLOAD_DIALOG_TIMEOUT_IN_MILLISECONDS 3000 #define MAX_HTML_DIALOG_RETRIES 5 +#define MAX_SAFE_INTEGER 9007199254740991L namespace webdriver {