Commit 7269d642 authored by abeera@google.com's avatar abeera@google.com

Fix to bug 91320.

Function prototype in Cloud Print Virtual Driver changed to void. Gyp file updated.


BUG=91320
TEST=


Review URL: http://codereview.chromium.org/7542016

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95516 0039d316-1c4b-4281-b951-d872f2087c98
parent c6b9937f
......@@ -7,6 +7,9 @@
'include_dirs': [
'../..'
],
'variables': {
'chromium_code': 1
}
},
'targets' : [
{
......
......@@ -19,7 +19,7 @@
#include "cloud_print/virtual_driver/posix/printer_driver_util_posix.h"
int WriteToTemp(FILE* input_pdf, FilePath output_path) {
void WriteToTemp(FILE* input_pdf, FilePath output_path) {
FILE* output_pdf;
char buffer[128];
output_pdf = fopen(output_path.value().c_str(), "w");
......@@ -78,8 +78,6 @@ int main(int argc, const char* argv[]) {
// AtExitManager is necessary to use the path service.
base::AtExitManager aemanager;
// File handler for the temporary PDF we pass onto Chrome.
FILE* output_pdf;
// CommandLine is only setup to enable logging, never used subseqeuently.
CommandLine::Init(argc, argv);
// Location for the log file.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment