Index: ppapi/tests/testing_instance.cc |
diff --git a/ppapi/tests/testing_instance.cc b/ppapi/tests/testing_instance.cc |
index 4ef5152dbd96bee507a77844f4f37d4a2e64f9e4..f19292f271fa1d6ac4ec88036320b89434ee9966 100644 |
--- a/ppapi/tests/testing_instance.cc |
+++ b/ppapi/tests/testing_instance.cc |
@@ -31,6 +31,7 @@ TestingInstance::TestingInstance(PP_Instance instance) |
current_case_(NULL), |
executed_tests_(false), |
nacl_mode_(false), |
+ ssl_server_port_(-1), |
websocket_port_(-1) { |
callback_factory_.Initialize(this); |
} |
@@ -51,6 +52,8 @@ bool TestingInstance::Init(uint32_t argc, |
protocol_ = argv[i]; |
} else if (std::strcmp(argn[i], "websocket_port") == 0) { |
websocket_port_ = atoi(argv[i]); |
+ } else if (std::strcmp(argn[i], "ssl_server_port") == 0) { |
+ ssl_server_port_ = atoi(argv[i]); |
} |
} |
// Create the proper test case from the argument. |