| Index: chrome_frame/vtable_patch_manager.cc
|
| ===================================================================
|
| --- chrome_frame/vtable_patch_manager.cc (revision 53233)
|
| +++ chrome_frame/vtable_patch_manager.cc (working copy)
|
| @@ -4,9 +4,10 @@
|
|
|
| #include "chrome_frame/vtable_patch_manager.h"
|
|
|
| -#include <algorithm>
|
| #include <atlcomcli.h>
|
|
|
| +#include <algorithm>
|
| +
|
| #include "base/atomicops.h"
|
| #include "base/lock.h"
|
| #include "base/logging.h"
|
| @@ -90,7 +91,7 @@
|
| FunctionStub* stub = NULL;
|
|
|
| #ifndef NDEBUG
|
| - FunctionStub::FromCode(original_fn);
|
| + stub = FunctionStub::FromCode(original_fn);
|
| if (stub != NULL) {
|
| DLOG(ERROR) << "attempt to patch a function that's already patched";
|
| DCHECK(stub->destination_function() ==
|
|
|