diff --git a/main.cpp b/main.cpp index 5606c08..c6043ac 100644 --- a/main.cpp +++ b/main.cpp @@ -48,7 +48,7 @@ public: // but this is good enough as a poc & can be used for replication // across different clients connected to a server - if (name == "sendResultToCpp" && arguments.size() == 1 && arguments[0]->IsString()) { + if (name == "sendResultToCpp" && arguments.size() == 1) { CefRefPtr msg = CefProcessMessage::Create("resultMessage"); CefRefPtr args = msg->GetArgumentList();