Linux: Fix release build compile error (issue #1245).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1716 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt 2014-05-30 19:29:45 +00:00
parent beb198fca9
commit 99faa3fda4
1 changed files with 2 additions and 1 deletions

View File

@ -53,7 +53,8 @@ void ClientHandler::OnTitleChange(CefRefPtr<CefBrowser> browser,
Atom atoms[2];
int result = XInternAtoms(display, const_cast<char**>(kAtoms), 2, false,
atoms);
ASSERT(result);
if (!result)
ASSERT(false);
// Set the window title.
XChangeProperty(display,