Commit 930ad55e authored by Lei Zhang's avatar Lei Zhang Committed by Commit Bot

Rename pdf/draw_utils.* to pdf/draw_utils/shadow.*.

Currently, pdf/draw_utils.* only contains code to draw shadows. Move
this code into pdf/draw_utils/, so there is a directory for more drawing
utility code in upcoming CLs.

Change-Id: I869835ee82fca67622623b92c26e6af23b234741
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1696441Reviewed-by: default avatarHenrique Nakashima <hnakashima@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/master@{#676454}
parent 2fcb03d3
...@@ -53,8 +53,8 @@ if (enable_pdf) { ...@@ -53,8 +53,8 @@ if (enable_pdf) {
"document_loader.h", "document_loader.h",
"document_loader_impl.cc", "document_loader_impl.cc",
"document_loader_impl.h", "document_loader_impl.h",
"draw_utils.cc", "draw_utils/shadow.cc",
"draw_utils.h", "draw_utils/shadow.h",
"out_of_process_instance.cc", "out_of_process_instance.cc",
"out_of_process_instance.h", "out_of_process_instance.h",
"paint_aggregator.cc", "paint_aggregator.cc",
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#include "pdf/draw_utils.h" #include "pdf/draw_utils/shadow.h"
#include <math.h> #include <math.h>
#include <stddef.h> #include <stddef.h>
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef PDF_DRAW_UTILS_H_ #ifndef PDF_DRAW_UTILS_SHADOW_H_
#define PDF_DRAW_UTILS_H_ #define PDF_DRAW_UTILS_SHADOW_H_
#include <stdint.h> #include <stdint.h>
...@@ -54,4 +54,4 @@ void DrawShadow(pp::ImageData* image, ...@@ -54,4 +54,4 @@ void DrawShadow(pp::ImageData* image,
} // namespace chrome_pdf } // namespace chrome_pdf
#endif // PDF_DRAW_UTILS_H_ #endif // PDF_DRAW_UTILS_SHADOW_H_
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
#include "gin/public/gin_embedders.h" #include "gin/public/gin_embedders.h"
#include "gin/public/isolate_holder.h" #include "gin/public/isolate_holder.h"
#include "pdf/document_loader_impl.h" #include "pdf/document_loader_impl.h"
#include "pdf/draw_utils.h" #include "pdf/draw_utils/shadow.h"
#include "pdf/pdf_transform.h" #include "pdf/pdf_transform.h"
#include "pdf/pdfium/pdfium_api_string_buffer_adapter.h" #include "pdf/pdfium/pdfium_api_string_buffer_adapter.h"
#include "pdf/pdfium/pdfium_document.h" #include "pdf/pdfium/pdfium_document.h"
......
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