Linux: Fix release build compile errors (issue #1316)
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1754 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
parent
cb907f3649
commit
b3309086d9
|
@ -30,8 +30,10 @@ void SimpleHandler::OnTitleChange(CefRefPtr<CefBrowser> browser,
|
||||||
"UTF8_STRING"
|
"UTF8_STRING"
|
||||||
};
|
};
|
||||||
Atom atoms[2];
|
Atom atoms[2];
|
||||||
int result = XInternAtoms(display, const_cast<char**>(kAtoms), 2, false, atoms);
|
int result = XInternAtoms(display, const_cast<char**>(kAtoms), 2, false,
|
||||||
ASSERT(result);
|
atoms);
|
||||||
|
if (!result)
|
||||||
|
ASSERT(false);
|
||||||
|
|
||||||
// Set the window title.
|
// Set the window title.
|
||||||
XChangeProperty(display,
|
XChangeProperty(display,
|
||||||
|
|
|
@ -1168,7 +1168,7 @@ class MultiQueryManager : public CefMessageRouterBrowserSide::Handler {
|
||||||
EXPECT_TRUE(frame.get());
|
EXPECT_TRUE(frame.get());
|
||||||
|
|
||||||
std::string value;
|
std::string value;
|
||||||
int index;
|
int index = 0;
|
||||||
EXPECT_TRUE(SplitIDString(message, &value, &index));
|
EXPECT_TRUE(SplitIDString(message, &value, &index));
|
||||||
|
|
||||||
TestQuery& query = test_query_vector_[index];
|
TestQuery& query = test_query_vector_[index];
|
||||||
|
@ -1231,7 +1231,7 @@ class MultiQueryManager : public CefMessageRouterBrowserSide::Handler {
|
||||||
EXPECT_NE(0, query_id);
|
EXPECT_NE(0, query_id);
|
||||||
|
|
||||||
std::string value;
|
std::string value;
|
||||||
int index;
|
int index = 0;
|
||||||
EXPECT_TRUE(SplitIDString(request, &value, &index));
|
EXPECT_TRUE(SplitIDString(request, &value, &index));
|
||||||
|
|
||||||
TestQuery& query = test_query_vector_[index];
|
TestQuery& query = test_query_vector_[index];
|
||||||
|
|
Loading…
Reference in New Issue